Fix some templates in the feedblog example.
commit4d7b8896950fa82d3ef0242e3a2e7d6e4149e64b
authorBenedict Eastaugh <benedict@eastaugh.net>
dateTue 29 Mar 2011, 17:54 (16 years ago)
parent5a15be9
examples/feedblog/templates/default.html+2−2
@@ -14,10 +14,10 @@
1414 <body>
1515 <h1>SimpleBlog - $title$</h1>
1616 <div id="navigation">
17− <a href="/index.html">Home</a>
17+ <a href="/">Home</a>
1818 <a href="/posts.html">All posts</a>
1919 </div>
20−
20+
2121 $body$
2222 </body>
2323</html>
examples/feedblog/templates/post.html+2−1
@@ -1,4 +1,5 @@
11<h1>$title$</h1>
2−by <em>$author$</em> on <strong>$date$</strong>
2+
3+<p>by <em>$author$</em> on <strong>$date$</strong></p>
34
45$body$
examples/feedblog/templates/postitem.html+1−1
@@ -1,4 +1,4 @@
11<li>
2− <a href="/$url">$title$</a>
2+ <a href="$url$">$title$</a>
33 - <em>$date$</em> - by <em>$author$</em>
44</li>
examples/feedblog/templates/rss.xmldeleted−9
@@ -1,9 +0,0 @@
1−<?xml version="1.0" ?>
2−<rss version="2.0">
3− <channel>
4− <title>The SimpleBlog</title>
5− <link>http://example.com</link>
6− <description>Simple blog in hakyll</description>
7− $body
8− </channel>
9−</rss>
examples/feedblog/templates/rssitem.xmldeleted−5
@@ -1,5 +0,0 @@
1−<item>
2− <title>$title</title>
3− <link>http://example.com/$url</link>
4− <description>$title by $author</description>
5−</item>