home
·
contact
·
privacy
projects
/
redo-blog
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update README.
[redo-blog]
/
processor
/
default.html.do
diff --git
a/processor/default.html.do
b/processor/default.html.do
index 4371a3a0e70f9f12fae31712bad7a6c4240d8ecb..fcef3efe6b778e72d24f434afc6b51ca7c6d6325 100644
(file)
--- a/
processor/default.html.do
+++ b/
processor/default.html.do
@@
-1,8
+1,8
@@
#!/bin/sh
# Pull in global dependencies.
#!/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"
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"
# 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"
printf "<h1>%s</h1>\n" "$title_html"
printf "<section>\n%s\n</section>\n</body>\n</html>" "$body"