Added 'The gist of it' sections.
This commit is contained in:
parent
e0504b0de2
commit
d98520a226
2 changed files with 12 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue