X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/task?a=blobdiff_plain;f=processor%2Fmetadata%2Fdefault.index_snippet.do;h=c65f1a66cdf54a045d8d34ead2c56d4b1075b48f;hb=6b5631096b03f1c985bc40c4d2e244315280c686;hp=e332350f23fe81f6b1b27dd5ac1208e5d4930053;hpb=f88948caf952c4fd913ea7466c2f1ab3455af506;p=redo-blog diff --git a/processor/metadata/default.index_snippet.do b/processor/metadata/default.index_snippet.do index e332350..c65f1a6 100644 --- a/processor/metadata/default.index_snippet.do +++ b/processor/metadata/default.index_snippet.do @@ -7,8 +7,16 @@ intermediate_file="${1%.index_snippet}.intermediate" redo-ifchange "$intermediate_file" html_file="${src_file%.*}.html" redo-ifchange "$html_file" +template_file=index_snippet.tmpl +redo-ifchange "$template_file" -# Get variables, write entry. -title_html=$(cat "$intermediate_file" | head -1) -html_file_escaped=$(escape_url "${1%.index_snippet}.html") -printf "