X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/feed.xml?a=blobdiff_plain;f=processor%2Findex.html.do;h=af8ba85e225e05599ba7cca418f68ad453b9376f;hb=4373137de8ac6ad8731e6828a9876de9efe0a82e;hp=8bf675139c2bad3907e924c726b5a3084dd7ed2c;hpb=dfdd193cf3f2f215fd26bae06ada013a14422581;p=redo-blog diff --git a/processor/index.html.do b/processor/index.html.do index 8bf6751..af8ba85 100644 --- a/processor/index.html.do +++ b/processor/index.html.do @@ -2,7 +2,9 @@ # Pull in global dependencies. . ./helpers.sh -redo-ifchange title +srcdir=`pwd` +title_file=title.meta +redo-ifchange "$title_file" # Write index head. cat << EOF @@ -10,28 +12,34 @@ cat << EOF EOF -blog_title=`read_and_escape_file title | head -1` +blog_title=`read_and_escape_file "$title_file" | head -1` printf "%s\n\n\n" "$blog_title" printf "

%s

\n\n\n"