From 356191fcc743b9dace8d938a1556e22bbed50a10 Mon Sep 17 00:00:00 2001 From: Benedict Eastaugh Date: Mon, 28 Mar 2011 21:59:50 +0100 Subject: Update tagblog example to work with Hakyll 3. --- examples/tagblog/templates/default.html | 14 +++++++------- examples/tagblog/templates/index.html | 19 +++++++++++++++++++ examples/tagblog/templates/post.html | 8 ++++---- examples/tagblog/templates/postitem.html | 4 ++-- examples/tagblog/templates/posts.html | 4 ++++ 5 files changed, 36 insertions(+), 13 deletions(-) create mode 100644 examples/tagblog/templates/index.html create mode 100644 examples/tagblog/templates/posts.html (limited to 'examples/tagblog/templates') diff --git a/examples/tagblog/templates/default.html b/examples/tagblog/templates/default.html index 049a37a..0537065 100644 --- a/examples/tagblog/templates/default.html +++ b/examples/tagblog/templates/default.html @@ -4,20 +4,20 @@ - SimpleBlog - $title - + SimpleBlog - $title$ + + href="/rss.xml" /> -

SimpleBlog - $title

+

SimpleBlog - $title$

- $body + $body$ diff --git a/examples/tagblog/templates/index.html b/examples/tagblog/templates/index.html new file mode 100644 index 0000000..7152d02 --- /dev/null +++ b/examples/tagblog/templates/index.html @@ -0,0 +1,19 @@ +
+

Recent posts

+ +

All posts…

+ +

Tags

+
+ $tagcloud$ +
+
+ +
+

About

+

+ This is a sample blog for educational purposes. +

+
diff --git a/examples/tagblog/templates/post.html b/examples/tagblog/templates/post.html index 8ecb87d..3c47f1b 100644 --- a/examples/tagblog/templates/post.html +++ b/examples/tagblog/templates/post.html @@ -1,5 +1,5 @@ -

$title

-by $author on $date -
Tagged as: $tags.
+

$title$

+by $author$ on $date$ +
Tagged as: $prettytags$.
-$body +$body$ diff --git a/examples/tagblog/templates/postitem.html b/examples/tagblog/templates/postitem.html index 0e62418..ccbb58e 100644 --- a/examples/tagblog/templates/postitem.html +++ b/examples/tagblog/templates/postitem.html @@ -1,4 +1,4 @@
  • - $title - - $date - by $author + $title$ + - $date$ - by $author$
  • diff --git a/examples/tagblog/templates/posts.html b/examples/tagblog/templates/posts.html new file mode 100644 index 0000000..758c670 --- /dev/null +++ b/examples/tagblog/templates/posts.html @@ -0,0 +1,4 @@ +

    $title$

    + -- cgit v1.2.3