From: Christian Heller Date: Sat, 10 Dec 2016 23:25:00 +0000 (+0100) Subject: Fix index.html generation as well. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/%7B%7Bprefix%7D%7D/%7B%7Bdb.prefix%7D%7D/edit?a=commitdiff_plain;h=6138fd7efef3873fa3f48b92f2275f86eb76e329;p=redo-blog Fix index.html generation as well. --- diff --git a/README.md b/README.md index e3ced3c..20b3bec 100644 --- a/README.md +++ b/README.md @@ -33,8 +33,5 @@ customize the blog: ./url, ./author, ./uuid, ./title.) bugs ---- -Due to bad shell scripting in ./processor/index.html.do (see the FIXME notes -there), source files whose names contain "$" break the redo processing. - -Oh, and don't create a index.rst or index.md in the redo-managed directory, -that will also break things. +Don't create a index.rst or index.md in the redo-managed directory, that will +break things. diff --git a/processor/feed.xml.do b/processor/feed.xml.do index 0010240..a034911 100644 --- a/processor/feed.xml.do +++ b/processor/feed.xml.do @@ -89,4 +89,5 @@ for file in ./feed_snippets/*; do done rm -rf feed_snippets +# Write feed foot. printf "" diff --git a/processor/index.html.do b/processor/index.html.do index 1bd4dd1..dca7c33 100644 --- a/processor/index.html.do +++ b/processor/index.html.do @@ -15,25 +15,34 @@ blog_title=`read_and_escape_file "$title_file" | head -1` printf "%s\n\n\n" "$blog_title" printf "

%s

\n\n\n"