From fd917217ae218d7369a84c0b0dcdd9cfa937ca2a Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Wed, 5 Jun 2013 14:10:07 +0200 Subject: Update hakyll-init example to new template system --- data/example/templates/archive.html | 5 ++--- data/example/templates/post-item.html | 3 --- data/example/templates/post-list.html | 7 +++++++ 3 files changed, 9 insertions(+), 6 deletions(-) delete mode 100644 data/example/templates/post-item.html create mode 100644 data/example/templates/post-list.html (limited to 'data/example/templates') diff --git a/data/example/templates/archive.html b/data/example/templates/archive.html index bc732f9..b43eeb2 100644 --- a/data/example/templates/archive.html +++ b/data/example/templates/archive.html @@ -1,3 +1,2 @@ - +Here you can find all my previous posts: +$partial("templates/post-list.html")$ diff --git a/data/example/templates/post-item.html b/data/example/templates/post-item.html deleted file mode 100644 index decbc33..0000000 --- a/data/example/templates/post-item.html +++ /dev/null @@ -1,3 +0,0 @@ -
  • - $title$ - $date$ -
  • diff --git a/data/example/templates/post-list.html b/data/example/templates/post-list.html new file mode 100644 index 0000000..71cf1b9 --- /dev/null +++ b/data/example/templates/post-list.html @@ -0,0 +1,7 @@ + -- cgit v1.2.3