on master help sign in
Some tutorial writing
2ed3df4Jasper Van der Jeugt
examples/hakyll/images/brochure-files.pngnew file

Binary file not shown.

examples/hakyll/tutorial.markdown+23
@@ -38,6 +38,29 @@ Features include:
38A simple brochure site
38A simple brochure site
39----------------------
39----------------------
40
40
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+
41### The two layers
64### The two layers
42
65
43Hakyll consists of two important layers:
66Hakyll consists of two important layers: