home · contact · privacy
Improve templates.
[redo-blog] / processor / metadata / index.tmpl.do
1 #!/bin/sh
2
3 if [ ! -f "$1" ]; then
4 cat << EOF
5 <!DOCTYPE html>
6 <meta charset="UTF-8">
7 <style type="text/css">
8 h1 { font-size: 2em; }
9 </style>
10 <link rel="alternate" type="application/rss+xml" title="atom feed" href="feed.xml" />
11 <title>%BLOG_TITLE%</title>
12 <h1>%BLOG_TITLE%</h1>
13 <p><a href="feed.xml">feed</a></p>
14 <ul>
15 %INDEX%
16 </ul>
17 EOF
18 fi