home · contact · privacy
Unhide metadata directory, move helpers script up in tree.
[redo-blog] / processor / default.html.do
index 4371a3a0e70f9f12fae31712bad7a6c4240d8ecb..fcef3efe6b778e72d24f434afc6b51ca7c6d6325 100644 (file)
@@ -1,8 +1,8 @@
 #!/bin/sh
 
 # Pull in global dependencies.
-metadata_dir=.meta
-. "$metadata_dir"/helpers.sh
+. ./helpers.sh
+metadata_dir=metadata
 intermediate_file="${metadata_dir}/${1%.html}.intermediate"
 title_file="${metadata_dir}"/title
 redo-ifchange "$title_file" 
@@ -24,6 +24,5 @@ EOF
 
 # Write remaining entry head and body. 
 printf "<title>%s – %s</title>\n</head>\n<body>\n" "$blog_title" "$title_plaintext_escaped"
-#printf "<title>%s – %s</title>\n</head>\n<body>\n" "$blog_title" "$entry_title"
 printf "<h1>%s</h1>\n" "$title_html"
 printf "<section>\n%s\n</section>\n</body>\n</html>" "$body"