From d98520a2260fcc4c2439906574aa59c4ace1c90f Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Thu, 11 Mar 2010 21:34:16 +0100 Subject: Added 'The gist of it' sections. --- examples/hakyll/tutorials/part01.markdown | 6 ++++++ examples/hakyll/tutorials/part03.markdown | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'examples') 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. -- cgit v1.2.3