From efe6f0326400fd02b14ccaaed451eb9b306c7fe5 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Tue, 24 Nov 2020 14:34:52 +0100 Subject: Fixing canvas height --- generate | 4 ++-- index.template.html | 4 ++-- utils/fractal_tree/script.js | 2 +- utils/sierpinski_triangle/script.js | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/generate b/generate index d13dac6..1bea8d3 100755 --- a/generate +++ b/generate @@ -37,7 +37,7 @@ base_template < school.template.html | base_template_link 'style.css' > school.html # Generate blog posts -for post_path in "$(find "$blog_path" -name '*.md')" +for post_path in "$blog_path"/*.md do post_dst_path=$(echo "$post_path" | sed 's_.md_.html_') @@ -68,5 +68,5 @@ do sed -i'' "// a\
  • $title
  • " index.html - echo "Generated utility at $util_path" + echo "Generated utility at $util_path/index.html" done diff --git a/index.template.html b/index.template.html index 9d9c007..baa1638 100644 --- a/index.template.html +++ b/index.template.html @@ -7,12 +7,12 @@
    -

    Blog articles

    +

    Blog posts

    -

    Utils

    +

    Utilities