diff options
author | Benedict Eastaugh <benedict@eastaugh.net> | 2011-03-29 17:54:26 +0100 |
---|---|---|
committer | Benedict Eastaugh <benedict@eastaugh.net> | 2011-03-29 17:54:26 +0100 |
commit | 4d7b8896950fa82d3ef0242e3a2e7d6e4149e64b (patch) | |
tree | 932af85b0d838fddfad554805c4561c0a5f24713 | |
parent | 5a15be95bdb48f9be509d37abd06545df114c1b9 (diff) | |
download | hakyll-4d7b8896950fa82d3ef0242e3a2e7d6e4149e64b.tar.gz |
Fix some templates in the feedblog example.
-rw-r--r-- | examples/feedblog/templates/default.html | 4 | ||||
-rw-r--r-- | examples/feedblog/templates/post.html | 3 | ||||
-rw-r--r-- | examples/feedblog/templates/postitem.html | 2 | ||||
-rw-r--r-- | examples/feedblog/templates/rss.xml | 9 | ||||
-rw-r--r-- | examples/feedblog/templates/rssitem.xml | 5 |
5 files changed, 5 insertions, 18 deletions
diff --git a/examples/feedblog/templates/default.html b/examples/feedblog/templates/default.html index b7a3c1e..7aac5d5 100644 --- a/examples/feedblog/templates/default.html +++ b/examples/feedblog/templates/default.html @@ -14,10 +14,10 @@ <body> <h1>SimpleBlog - $title$</h1> <div id="navigation"> - <a href="/index.html">Home</a> + <a href="/">Home</a> <a href="/posts.html">All posts</a> </div> - + $body$ </body> </html> diff --git a/examples/feedblog/templates/post.html b/examples/feedblog/templates/post.html index e2864ba..dd0db95 100644 --- a/examples/feedblog/templates/post.html +++ b/examples/feedblog/templates/post.html @@ -1,4 +1,5 @@ <h1>$title$</h1> -by <em>$author$</em> on <strong>$date$</strong> + +<p>by <em>$author$</em> on <strong>$date$</strong></p> $body$ diff --git a/examples/feedblog/templates/postitem.html b/examples/feedblog/templates/postitem.html index b752d96..ccbb58e 100644 --- a/examples/feedblog/templates/postitem.html +++ b/examples/feedblog/templates/postitem.html @@ -1,4 +1,4 @@ <li> - <a href="/$url">$title$</a> + <a href="$url$">$title$</a> - <em>$date$</em> - by <em>$author$</em> </li> diff --git a/examples/feedblog/templates/rss.xml b/examples/feedblog/templates/rss.xml deleted file mode 100644 index 1217b4e..0000000 --- a/examples/feedblog/templates/rss.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" ?> -<rss version="2.0"> - <channel> - <title>The SimpleBlog</title> - <link>http://example.com</link> - <description>Simple blog in hakyll</description> - $body - </channel> -</rss> diff --git a/examples/feedblog/templates/rssitem.xml b/examples/feedblog/templates/rssitem.xml deleted file mode 100644 index 48573d2..0000000 --- a/examples/feedblog/templates/rssitem.xml +++ /dev/null @@ -1,5 +0,0 @@ -<item> - <title>$title</title> - <link>http://example.com/$url</link> - <description>$title by $author</description> -</item> |