X-Git-Url: https://plomlompom.com/repos/do_day?a=blobdiff_plain;f=processor%2Fmetadata%2Fdefault.index_snippet.do;h=c65f1a66cdf54a045d8d34ead2c56d4b1075b48f;hb=13dfbc049a5d1a6a4f5b6f2453b39542779300b0;hp=d95b27b176de639c32025094c107269c74473367;hpb=b86576c5f61cff36c80c9e0efd9d77f50dac745b;p=redo-blog diff --git a/processor/metadata/default.index_snippet.do b/processor/metadata/default.index_snippet.do index d95b27b..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 "${html_file#*/}"` -printf "