on master help sign in
Wrote on README.
commit453932a8b878cff86c41fc374b41d6d51dbe5a3f authorJasper Van der Jeugt <jaspervdj@gmail.com> dateThu 3 Dec 2009, 22:26 (17 years ago) parent0a75e1e
1 file changed+5−7
README.markdown+5−7
README.markdown+5−7
@@ -41,12 +41,6 @@ Pages can be written in html or markdown (altough it would be a trivial task
4141to add anything pandoc supports, just ask me if you want anything to be added).
4242They can also contain metadata, which are always key-value mappings.
4343
44−## Templates
45−
46−Templates are rendered using the Haskell `Text.Template` library. This means
47−that in your template, you can use `$identifier`, and it will be replaced by
48−the value of `identifier`.
49−
5044 ---
5145 author: Jasper Van der Jeugt
5246 title: A sample markdown post
@@ -82,7 +76,11 @@ for example, cannot contain metadata.
8276
8377 $body
8478
85−Is a template we could, for example, render the file we saw in the previous
79+Templates are rendered using the Haskell `Text.Template` library. This means
80+that in your template, you can use `$identifier`, and it will be replaced by
81+the value of `identifier`.
82+
83+With this template we could, for example, render the file we saw in the previous
8684section. It would go like this:
8785
8886 page <- readPage "text.markdown"