summaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2009-12-03 22:26:51 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2009-12-03 22:26:51 +0100
commit453932a8b878cff86c41fc374b41d6d51dbe5a3f (patch)
tree90ccfafed29ea2444952b6c2ac1e557c32d28e05 /README.markdown
parent0a75e1e2b92a73aeff46d7f6631c733186214fa0 (diff)
downloadhakyll-453932a8b878cff86c41fc374b41d6d51dbe5a3f.tar.gz
Wrote on README.
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown12
1 files changed, 5 insertions, 7 deletions
diff --git a/README.markdown b/README.markdown
index aed627b..6a6cf7c 100644
--- a/README.markdown
+++ b/README.markdown
@@ -41,12 +41,6 @@ Pages can be written in html or markdown (altough it would be a trivial task
to add anything pandoc supports, just ask me if you want anything to be added).
They can also contain metadata, which are always key-value mappings.
-## Templates
-
-Templates are rendered using the Haskell `Text.Template` library. This means
-that in your template, you can use `$identifier`, and it will be replaced by
-the value of `identifier`.
-
---
author: Jasper Van der Jeugt
title: A sample markdown post
@@ -82,7 +76,11 @@ for example, cannot contain metadata.
$body
-Is a template we could, for example, render the file we saw in the previous
+Templates are rendered using the Haskell `Text.Template` library. This means
+that in your template, you can use `$identifier`, and it will be replaced by
+the value of `identifier`.
+
+With this template we could, for example, render the file we saw in the previous
section. It would go like this:
page <- readPage "text.markdown"