on master help sign in
Site update
790002eJasper Van der Jeugt
examples/hakyll/css/default.css+2−2
@@ -31,7 +31,7 @@ div#header h1 {
31
31
32div#main {
32div#main {
33 margin: 0px auto 0px auto;
33 margin: 0px auto 0px auto;
34− width: 760px;
34+ width: 860px;
35}
35}
36
36
37div#sidebar {
37div#sidebar {
@@ -50,7 +50,7 @@ div#sidebar a {
50}
50}
51
51
52div#content {
52div#content {
53− width: 570px;
53+ width: 670px;
54 float: right;
54 float: right;
55}
55}
56
56
examples/hakyll/examples.markdownnew file+27
@@ -0,0 +1,27 @@
1+---
2+title: Examples
3+---
4+
5+## Simple examples
6+
7+A number of simple examples are available in the GitHub repository. They can be
8+found [here](https://github.com/jaspervdj/hakyll/tree/master/examples). The
9+README located in that directory explains which example does what.
10+
11+## People using Hakyll
12+
13+A lot of sites running Hakyll also publish the source code. This is a very
14+interesting resource to learn from as well. If you're using Hakyll for your
15+site, and the source code is available, please notify me so I can add you to
16+this list. This list has no particular ordering.
17+
18+- <http://jaspervdj.be/>,
19+ [source](https://github.com/jaspervdj/jaspervdj)
20+- <http://ethanschoonover.com/>,
21+ [source](https://github.com/altercation/ethanschoonover.com)
22+- <http://extralogical.net/>,
23+ [source](https://github.com/beastaugh/extralogical.net)
24+- <http://blog.demotera.com/>,
25+ [source](https://bitbucket.org/paul_r/blog-de-demotera)
26+- <http://projects.haskell.org/diagrams/>,
27+ [source](http://patch-tag.com/r/byorgey/diagrams-doc/snapshot/current/content/pretty/web/)
examples/hakyll/hakyll.hs+1
@@ -46,6 +46,7 @@ main = hakyll $ do
46
46
47 pages = [ "about.markdown"
47 pages = [ "about.markdown"
48 , "changelog.markdown"
48 , "changelog.markdown"
49+ , "examples.markdown"
49 , "index.markdown"
50 , "index.markdown"
50 , "philosophy.markdown"
51 , "philosophy.markdown"
51 , "reference.markdown"
52 , "reference.markdown"
examples/hakyll/images/hakyll-system-1.pngnew file

Binary file not shown.

examples/hakyll/images/hakyll-system-2.pngnew file

Binary file not shown.

examples/hakyll/images/hakyll-system-3.pngnew file

Binary file not shown.

examples/hakyll/index.markdown+16−24
@@ -2,12 +2,6 @@
2title: Home
2title: Home
3---
3---
4
4
5−## Hakyll 3
6−
7−Hakyll 3 has been released, and it can be installed by running
8−`cabal install hakyll`. For a limited time (but as long as is necessary) you can
9−access the old site and documentation [here](/hakyll2)
10−
11## Overview
5## Overview
12
6
13Hakyll is a [Haskell](http://haskell.org) library for generating static sites,
7Hakyll is a [Haskell](http://haskell.org) library for generating static sites,
@@ -15,30 +9,28 @@ mostly aimed at small-to-medium sites and personal blogs. It is written in a
15very configurable way and uses an [xmonad](http://xmonad.org)-like DSL for
9very configurable way and uses an [xmonad](http://xmonad.org)-like DSL for
16configuration.
10configuration.
17
11
18−## Why static site generators?
12+Integration with [pandoc](http://johnmacfarlane.net/pandoc/) gives us markdown
13+and TeX support, including syntax highlighting and other goodies.
14+
15+## The Hakyll System
19
16
20−- Static sites are extremely fast.
17+### Write your content in whatever format you prefer
21−- You don't have to worry about security issues.
22
18
23−## Features of Hakyll
19+![Write your content](/images/hakyll-system-1.png)
24
20
25−- Integration with [pandoc](http://johnmacfarlane.net/pandoc/) gives us markdown
21+### Create compilation rules in a Haskell EDSL
26− and TeX support, including syntax highlighting and other goodies.
27−- An easy templating system.
28−- Hakyll also features a simple http server for previewing your site.
29
22
30−## See some examples
23+![Write your rules](/images/hakyll-system-2.png)
31
24
32−Some sites written in Hakyll:
25+### Compile it to HTML and upload it!
33
26
34−- Blog of [Demotera](http://blog.demotera.com/), a French engineering company
27+![Compile it](/images/hakyll-system-3.png)
35−- Personal home page and blog of [Chris Done](http://chrisdone.com/)
28+
36−- Personal home page and blog of [Jasper Van der Jeugt](http://jaspervdj.be/)
29+## Hakyll 3
37−- [The Haskell Alphabet](http://www.cis.upenn.edu/~byorgey/haskell-alphabet/)
30+
38− by Brent Yorgey
31+Hakyll 3 has been released, and it can be installed by running
39−- Personal home page and blog of [Nicolas Wu](http://zenzike.com/)
32+`cabal install hakyll`. For a limited time (but as long as is necessary) you can
40−- Home page of [Ethan Schoonover](http://ethanschoonover.com/)
33+access the old site and documentation [here](/hakyll2).
41−- [Extralogical](http://extralogical.net/) by Benedict Eastaugh
42
34
43## Getting Started
35## Getting Started
44
36
examples/hakyll/sidebar.markdown+1
@@ -4,5 +4,6 @@
4[philosophy](/philosophy.html)
4[philosophy](/philosophy.html)
5[about](/about.html)
5[about](/about.html)
6[tutorial](/tutorial.html)
6[tutorial](/tutorial.html)
7+[examples](/examples.html)
7[reference](/reference.html)
8[reference](/reference.html)
8[changelog](/changelog.html)
9[changelog](/changelog.html)