on master help sign in
Some tutorial writing
commit2ed3df4811d42ae17111deddd079941d7b2932f4 authorJasper Van der Jeugt <jaspervdj@gmail.com> dateSun 29 May 2011, 15:34 (15 years ago) parent6bb94ac
2 files changed+23
examples/hakyll/images/brochure-files.png examples/hakyll/tutorial.markdown+23
examples/hakyll/images/brochure-files.pngnew file

Binary file not shown.

examples/hakyll/tutorial.markdown+23
@@ -38,6 +38,29 @@ Features include:
3838A simple brochure site
3939----------------------
4040
41+We're going to discuss a small brochure site to start with. You can find all
42+code and files necessary to build this site [right here](/examples/brochure.zip)
43+-- feel free to look to them as we go trough the tutorial. There's a number of
44+files we will use:
45+
46+ about.rst A simple page written in RST format
47+ code.lhs Another page with some code (which can be highlighted)
48+ css Directory for CSS files
49+ |- default.css The main CSS file
50+ \- syntax.css CSS file for code syntax highlighting
51+ hakyll.hs Our code to generate the site
52+ index.markdown A simple page in markdown format
53+ templates Directory for templates
54+ \- default.html The main template for the site
55+
56+By default, hakyll will compile everything to the `_site` directory. We can try
57+this like this:
58+
59+ [jasper@phoenix] ghc --make hakyll.hs
60+ [jasper@phoenix] ./hakyll build
61+
62+![Brochure files](/images/brochure-files.png)
63+
4164### The two layers
4265
4366Hakyll consists of two important layers: