home · contact · privacy
Rename generated meta files, test for them.
[redo-blog] / processor / default.html.do
index 3ff413230f8babfdd13d5ab3569f741327abd435..2a457a5ad2eda05c2f47e9953357da48af5de818 100644 (file)
@@ -3,11 +3,12 @@
 # Pull in global dependencies.
 . ./helpers.sh
 intermediate_file="${1%.html}.intermediate"
-redo-ifchange title
+title_file=title.meta
+redo-ifchange "$title_file" 
 redo-ifchange "$intermediate_file"
 
 # Build entry data.
-blog_title=`read_and_escape_file title | head -1`
+blog_title=`read_and_escape_file "$title_file" | head -1`
 title_html=`cat "$intermediate_file" | head -1`
 title_plaintext=`echo "$title_html" | html2text`
 title_plaintext_escaped=`escape_html "$title_plaintext"`