diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-03-11 21:34:16 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-03-11 21:34:16 +0100 |
commit | d98520a2260fcc4c2439906574aa59c4ace1c90f (patch) | |
tree | df914e87213e881128967585dfc4976d02e1fe22 /examples | |
parent | e0504b0de2385c2bfcf3007d4bed9ec848b3adbe (diff) | |
download | hakyll-d98520a2260fcc4c2439906574aa59c4ace1c90f.tar.gz |
Added 'The gist of it' sections.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/hakyll/tutorials/part01.markdown | 6 | ||||
-rw-r--r-- | examples/hakyll/tutorials/part03.markdown | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/examples/hakyll/tutorials/part01.markdown b/examples/hakyll/tutorials/part01.markdown index 9647248..0d69938 100644 --- a/examples/hakyll/tutorials/part01.markdown +++ b/examples/hakyll/tutorials/part01.markdown @@ -226,3 +226,9 @@ main = hakyll "http://example.com" $ do To setup your site, simply copy the contents of `_site` to your hosting provider using your favorite piece of software. + +## The gist of it + +- You render "pages" with "templates". +- The most common render function is `renderChain`. +- Hakyll also deals with static files and css. diff --git a/examples/hakyll/tutorials/part03.markdown b/examples/hakyll/tutorials/part03.markdown index 243bf7d..7ee896a 100644 --- a/examples/hakyll/tutorials/part03.markdown +++ b/examples/hakyll/tutorials/part03.markdown @@ -166,3 +166,9 @@ where render = renderChain ["templates/default.html"] ~~~~~ And now every page will include the footer. + +## The gist of it + +- Pages are just key-value mappings. +- You can have multiple sections in every page. +- Combine pages using the `combine` function. |