home
·
contact
·
privacy
projects
/
redo-blog
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Clean up heading logic for .rst and .md interpretation.
[redo-blog]
/
processor
/
metadata
/
article.tmpl.do
1
#!/bin/sh
2
3
if [ ! -f "$1" ]; then
4
cat << EOF
5
<!DOCTYPE html>
6
<html>
7
<head>
8
<title>%BLOG_TITLE% – %ARTICLE_TITLE_ESCAPED%</title>
9
</head>
10
<body>
11
<a href="index.html">%BLOG_TITLE%</a>
12
<article>
13
<h1>%ARTICLE_TITLE_HTML%</h1>
14
%BODY%
15
</article>
16
</body>
17
</html>
18
EOF
19
fi