From ac8e89cc1904d25e118c41b441bbb4008583b78a Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Sat, 2 Jan 2010 19:57:12 +0100 Subject: Added another tutorial. --- examples/rssblog/templates/default.html | 22 ++++++++++++++++++++++ examples/rssblog/templates/post.html | 4 ++++ examples/rssblog/templates/postitem.html | 4 ++++ examples/rssblog/templates/rss.xml | 9 +++++++++ examples/rssblog/templates/rssitem.xml | 5 +++++ 5 files changed, 44 insertions(+) create mode 100644 examples/rssblog/templates/default.html create mode 100644 examples/rssblog/templates/post.html create mode 100644 examples/rssblog/templates/postitem.html create mode 100644 examples/rssblog/templates/rss.xml create mode 100644 examples/rssblog/templates/rssitem.xml (limited to 'examples/rssblog/templates') diff --git a/examples/rssblog/templates/default.html b/examples/rssblog/templates/default.html new file mode 100644 index 0000000..21429fa --- /dev/null +++ b/examples/rssblog/templates/default.html @@ -0,0 +1,22 @@ + + + + + SimpleBlog - $title + + + + +

SimpleBlog - $title

+ + + $body + + diff --git a/examples/rssblog/templates/post.html b/examples/rssblog/templates/post.html new file mode 100644 index 0000000..46797a4 --- /dev/null +++ b/examples/rssblog/templates/post.html @@ -0,0 +1,4 @@ +

$title

+by $author on $date + +$body diff --git a/examples/rssblog/templates/postitem.html b/examples/rssblog/templates/postitem.html new file mode 100644 index 0000000..a14687b --- /dev/null +++ b/examples/rssblog/templates/postitem.html @@ -0,0 +1,4 @@ +
  • + $title + - $date - by $author +
  • diff --git a/examples/rssblog/templates/rss.xml b/examples/rssblog/templates/rss.xml new file mode 100644 index 0000000..be918af --- /dev/null +++ b/examples/rssblog/templates/rss.xml @@ -0,0 +1,9 @@ + + + + The SimpleBlog + http://example.com + Simple blog in hakyll + $items + + diff --git a/examples/rssblog/templates/rssitem.xml b/examples/rssblog/templates/rssitem.xml new file mode 100644 index 0000000..48573d2 --- /dev/null +++ b/examples/rssblog/templates/rssitem.xml @@ -0,0 +1,5 @@ + + $title + http://example.com/$url + $title by $author + -- cgit v1.2.3