home · contact · privacy
Add feed link to body of index template.
[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 <link rel="alternate" type="application/rss+xml" title="atom feed" href="feed.xml" />
9 <title>%TITLE%</title>
10 </head>
11 <body>
12 <h1>%TITLE%</h1>
13 <p><a href="feed.xml">feed</a></p>
14 <ul>
15 %LIST%
16 </ul>
17 </body>
18 </html>
19 EOF
20 fi