diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2011-05-29 15:34:37 +0200 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2011-05-29 15:34:37 +0200 |
commit | 2ed3df4811d42ae17111deddd079941d7b2932f4 (patch) | |
tree | 8a80724e34c319d33d7429d8dcd3370afaaa8564 /examples | |
parent | 6bb94ac3fa652da5c479f262b92d3f54d4f2cc79 (diff) | |
download | hakyll-2ed3df4811d42ae17111deddd079941d7b2932f4.tar.gz |
Some tutorial writing
Diffstat (limited to 'examples')
-rw-r--r-- | examples/hakyll/images/brochure-files.png | bin | 0 -> 80285 bytes | |||
-rw-r--r-- | examples/hakyll/tutorial.markdown | 23 |
2 files changed, 23 insertions, 0 deletions
diff --git a/examples/hakyll/images/brochure-files.png b/examples/hakyll/images/brochure-files.png Binary files differnew file mode 100644 index 0000000..454572c --- /dev/null +++ b/examples/hakyll/images/brochure-files.png diff --git a/examples/hakyll/tutorial.markdown b/examples/hakyll/tutorial.markdown index 838edf5..243dbaf 100644 --- a/examples/hakyll/tutorial.markdown +++ b/examples/hakyll/tutorial.markdown @@ -38,6 +38,29 @@ Features include: A simple brochure site ---------------------- +We're going to discuss a small brochure site to start with. You can find all +code and files necessary to build this site [right here](/examples/brochure.zip) +-- feel free to look to them as we go trough the tutorial. There's a number of +files we will use: + + about.rst A simple page written in RST format + code.lhs Another page with some code (which can be highlighted) + css Directory for CSS files + |- default.css The main CSS file + \- syntax.css CSS file for code syntax highlighting + hakyll.hs Our code to generate the site + index.markdown A simple page in markdown format + templates Directory for templates + \- default.html The main template for the site + +By default, hakyll will compile everything to the `_site` directory. We can try +this like this: + + [jasper@phoenix] ghc --make hakyll.hs + [jasper@phoenix] ./hakyll build + + + ### The two layers Hakyll consists of two important layers: |