X-Git-Url: https://plomlompom.com/repos/?p=redo-blog;a=blobdiff_plain;f=processor%2Fmetadata%2Fdefault.index_snippet.do;h=a1ff6f966cb6bc6c155be184058e140909439ab1;hp=d95b27b176de639c32025094c107269c74473367;hb=f58e6d66bc1228640227e9a95a305f8213a7103a;hpb=b86576c5f61cff36c80c9e0efd9d77f50dac745b diff --git a/processor/metadata/default.index_snippet.do b/processor/metadata/default.index_snippet.do index d95b27b..a1ff6f9 100644 --- a/processor/metadata/default.index_snippet.do +++ b/processor/metadata/default.index_snippet.do @@ -3,12 +3,25 @@ # Pull in dependencies. . ../helpers.sh src_file=$(get_source_file "$1") +uuid_file="${1%.index_snippet}.uuid" +redo-ifchange "$uuid_file" 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 "