on master help sign in
Site update
commit790002e8b9d07a46b4fb50a13b1a17cd3f54b140 authorJasper Van der Jeugt <jaspervdj@gmail.com> dateSun 29 May 2011, 11:43 (15 years ago) parentcea0dd0
8 files changed+47−26
examples/hakyll/css/default.css+2−2 examples/hakyll/examples.markdown+27 examples/hakyll/hakyll.hs+1 examples/hakyll/images/hakyll-system-1.png examples/hakyll/images/hakyll-system-2.png examples/hakyll/images/hakyll-system-3.png examples/hakyll/index.markdown+16−24 examples/hakyll/sidebar.markdown+1
examples/hakyll/css/default.css+2−2
@@ -31,7 +31,7 @@ div#header h1 {
3131
3232div#main {
3333 margin: 0px auto 0px auto;
34− width: 760px;
34+ width: 860px;
3535}
3636
3737div#sidebar {
@@ -50,7 +50,7 @@ div#sidebar a {
5050}
5151
5252div#content {
53− width: 570px;
53+ width: 670px;
5454 float: right;
5555}
5656
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
4646
4747 pages = [ "about.markdown"
4848 , "changelog.markdown"
49+ , "examples.markdown"
4950 , "index.markdown"
5051 , "philosophy.markdown"
5152 , "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 @@
22title: Home
33---
44
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−
115## Overview
126
137Hakyll 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
159very configurable way and uses an [xmonad](http://xmonad.org)-like DSL for
1610configuration.
1711
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
1916
20−- Static sites are extremely fast.
21−- You don't have to worry about security issues.
17+### Write your content in whatever format you prefer
2218
23−## Features of Hakyll
19+![Write your content](/images/hakyll-system-1.png)
2420
25−- Integration with [pandoc](http://johnmacfarlane.net/pandoc/) gives us markdown
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.
21+### Create compilation rules in a Haskell EDSL
2922
30−## See some examples
23+![Write your rules](/images/hakyll-system-2.png)
3124
32−Some sites written in Hakyll:
25+### Compile it to HTML and upload it!
3326
34−- Blog of [Demotera](http://blog.demotera.com/), a French engineering company
35−- Personal home page and blog of [Chris Done](http://chrisdone.com/)
36−- Personal home page and blog of [Jasper Van der Jeugt](http://jaspervdj.be/)
37−- [The Haskell Alphabet](http://www.cis.upenn.edu/~byorgey/haskell-alphabet/)
38− by Brent Yorgey
39−- Personal home page and blog of [Nicolas Wu](http://zenzike.com/)
40−- Home page of [Ethan Schoonover](http://ethanschoonover.com/)
41−- [Extralogical](http://extralogical.net/) by Benedict Eastaugh
27+![Compile it](/images/hakyll-system-3.png)
28+
29+## Hakyll 3
30+
31+Hakyll 3 has been released, and it can be installed by running
32+`cabal install hakyll`. For a limited time (but as long as is necessary) you can
33+access the old site and documentation [here](/hakyll2).
4234
4335## Getting Started
4436
examples/hakyll/sidebar.markdown+1
@@ -4,5 +4,6 @@
44[philosophy](/philosophy.html)
55[about](/about.html)
66[tutorial](/tutorial.html)
7+[examples](/examples.html)
78[reference](/reference.html)
89[changelog](/changelog.html)