Added 'The gist of it' sections.

This commit is contained in:
Jasper Van der Jeugt 2010-03-11 21:34:16 +01:00
parent e0504b0de2
commit d98520a226
2 changed files with 12 additions and 0 deletions

View file

@ -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.

View file

@ -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.