From 4e3c26b01c369a3a70467ae4f925427775bb2726 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Sun, 10 Jan 2010 21:45:36 +0100 Subject: Migrated examples to use $root. --- examples/brochure/templates/default.html | 8 ++++---- examples/rssblog/index.html | 2 +- examples/rssblog/templates/default.html | 6 +++--- examples/rssblog/templates/postitem.html | 2 +- examples/simpleblog/hakyll.hs | 3 ++- examples/simpleblog/index.html | 2 +- examples/simpleblog/templates/default.html | 6 +++--- examples/simpleblog/templates/postitem.html | 2 +- examples/tagblog/index.html | 2 +- examples/tagblog/templates/default.html | 6 +++--- examples/tagblog/templates/postitem.html | 2 +- 11 files changed, 21 insertions(+), 20 deletions(-) (limited to 'examples') diff --git a/examples/brochure/templates/default.html b/examples/brochure/templates/default.html index 2e41112..c587bd5 100644 --- a/examples/brochure/templates/default.html +++ b/examples/brochure/templates/default.html @@ -4,14 +4,14 @@ MyAweSomeCompany - $title - +

MyAweSomeCompany - $title

$body diff --git a/examples/rssblog/index.html b/examples/rssblog/index.html index e628bd6..201cc18 100644 --- a/examples/rssblog/index.html +++ b/examples/rssblog/index.html @@ -3,7 +3,7 @@ - All posts... + All posts...
diff --git a/examples/rssblog/templates/default.html b/examples/rssblog/templates/default.html index 21429fa..52678b7 100644 --- a/examples/rssblog/templates/default.html +++ b/examples/rssblog/templates/default.html @@ -4,7 +4,7 @@ SimpleBlog - $title - +

SimpleBlog - $title

$body diff --git a/examples/rssblog/templates/postitem.html b/examples/rssblog/templates/postitem.html index a14687b..0e62418 100644 --- a/examples/rssblog/templates/postitem.html +++ b/examples/rssblog/templates/postitem.html @@ -1,4 +1,4 @@
  • - $title + $title - $date - by $author
  • diff --git a/examples/simpleblog/hakyll.hs b/examples/simpleblog/hakyll.hs index 46dbb14..205ceb2 100644 --- a/examples/simpleblog/hakyll.hs +++ b/examples/simpleblog/hakyll.hs @@ -1,7 +1,8 @@ module Main where import Text.Hakyll (hakyll) -import Text.Hakyll.Render (renderAndConcat, renderChain, css) +import Text.Hakyll.Render +import Text.Hakyll.Context import Text.Hakyll.File (getRecursiveContents, directory) import Text.Hakyll.Renderables (createPagePath, createCustomPage) import Data.List (sort) diff --git a/examples/simpleblog/index.html b/examples/simpleblog/index.html index e628bd6..201cc18 100644 --- a/examples/simpleblog/index.html +++ b/examples/simpleblog/index.html @@ -3,7 +3,7 @@ - All posts... + All posts...
    diff --git a/examples/simpleblog/templates/default.html b/examples/simpleblog/templates/default.html index 5fd7cc8..a9369b7 100644 --- a/examples/simpleblog/templates/default.html +++ b/examples/simpleblog/templates/default.html @@ -4,13 +4,13 @@ SimpleBlog - $title - +

    SimpleBlog - $title

    $body diff --git a/examples/simpleblog/templates/postitem.html b/examples/simpleblog/templates/postitem.html index a14687b..0e62418 100644 --- a/examples/simpleblog/templates/postitem.html +++ b/examples/simpleblog/templates/postitem.html @@ -1,4 +1,4 @@
  • - $title + $title - $date - by $author
  • diff --git a/examples/tagblog/index.html b/examples/tagblog/index.html index 777433d..e520791 100644 --- a/examples/tagblog/index.html +++ b/examples/tagblog/index.html @@ -3,7 +3,7 @@ - All posts... + All posts...
    $tagcloud
    diff --git a/examples/tagblog/templates/default.html b/examples/tagblog/templates/default.html index 21429fa..52678b7 100644 --- a/examples/tagblog/templates/default.html +++ b/examples/tagblog/templates/default.html @@ -4,7 +4,7 @@ SimpleBlog - $title - +

    SimpleBlog - $title

    $body diff --git a/examples/tagblog/templates/postitem.html b/examples/tagblog/templates/postitem.html index a14687b..0e62418 100644 --- a/examples/tagblog/templates/postitem.html +++ b/examples/tagblog/templates/postitem.html @@ -1,4 +1,4 @@
  • - $title + $title - $date - by $author
  • -- cgit v1.2.3