diff options
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. |