X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=processor%2Findex.html.do;fp=processor%2Findex.html.do;h=8bf675139c2bad3907e924c726b5a3084dd7ed2c;hb=dfdd193cf3f2f215fd26bae06ada013a14422581;hp=0000000000000000000000000000000000000000;hpb=72e91a2e5600566eae283d427450fa1c2fe4969b;p=redo-blog diff --git a/processor/index.html.do b/processor/index.html.do new file mode 100644 index 0000000..8bf6751 --- /dev/null +++ b/processor/index.html.do @@ -0,0 +1,37 @@ +#!/bin/sh + +# Pull in global dependencies. +. ./helpers.sh +redo-ifchange title + +# Write index head. +cat << EOF + + + +EOF +blog_title=`read_and_escape_file title | head -1` +printf "%s\n\n\n" "$blog_title" +printf "

%s

\n\n\n"