home
·
contact
·
privacy
projects
/
redo-blog
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
5befb4f20b7ffd066e80e00d9671d4c9dca895ae
[redo-blog]
/
processor
/
metadata
/
index.tmpl.do
1
#!/bin/sh
2
3
if [ ! -f "$1" ]; then
4
cat << EOF
5
<!DOCTYPE html>
6
<html>
7
<head>
8
<meta charset="UTF-8">
9
<style type="text/css">
10
h1 { font-size: 2em; }
11
</style>
12
<link rel="alternate" type="application/rss+xml" title="atom feed" href="feed.xml" />
13
<title>%BLOG_TITLE%</title>
14
</head>
15
<body>
16
<h1>%BLOG_TITLE%</h1>
17
<p><a href="feed.xml">feed</a></p>
18
<ul>
19
%INDEX%
20
</ul>
21
</body>
22
</html>
23
EOF
24
fi