X-Git-Url: https://plomlompom.com/repos/?p=redo-blog;a=blobdiff_plain;f=processor%2Fmetadata%2Fdefault.index_snippet.do;h=a1ff6f966cb6bc6c155be184058e140909439ab1;hp=e332350f23fe81f6b1b27dd5ac1208e5d4930053;hb=f58e6d66bc1228640227e9a95a305f8213a7103a;hpb=2b95ae7640d3037ae89380f0a388ae27bfda200f diff --git a/processor/metadata/default.index_snippet.do b/processor/metadata/default.index_snippet.do index e332350..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 "${1%.index_snippet}.html") -printf "