summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2011-05-29 11:43:54 +0200
committerJasper Van der Jeugt <jaspervdj@gmail.com>2011-05-29 11:43:54 +0200
commit790002e8b9d07a46b4fb50a13b1a17cd3f54b140 (patch)
tree673085752aaf10eca56d59cc6048cd1bd30afa3b /examples
parentcea0dd0cd09ee80940d485103835227acab7483a (diff)
downloadhakyll-790002e8b9d07a46b4fb50a13b1a17cd3f54b140.tar.gz
Site update
Diffstat (limited to 'examples')
-rw-r--r--examples/hakyll/css/default.css4
-rw-r--r--examples/hakyll/examples.markdown27
-rw-r--r--examples/hakyll/hakyll.hs1
-rw-r--r--examples/hakyll/images/hakyll-system-1.pngbin0 -> 34950 bytes
-rw-r--r--examples/hakyll/images/hakyll-system-2.pngbin0 -> 29373 bytes
-rw-r--r--examples/hakyll/images/hakyll-system-3.pngbin0 -> 28774 bytes
-rw-r--r--examples/hakyll/index.markdown40
-rw-r--r--examples/hakyll/sidebar.markdown1
8 files changed, 47 insertions, 26 deletions
diff --git a/examples/hakyll/css/default.css b/examples/hakyll/css/default.css
index f895f48..06f664c 100644
--- a/examples/hakyll/css/default.css
+++ b/examples/hakyll/css/default.css
@@ -31,7 +31,7 @@ div#header h1 {
div#main {
margin: 0px auto 0px auto;
- width: 760px;
+ width: 860px;
}
div#sidebar {
@@ -50,7 +50,7 @@ div#sidebar a {
}
div#content {
- width: 570px;
+ width: 670px;
float: right;
}
diff --git a/examples/hakyll/examples.markdown b/examples/hakyll/examples.markdown
new file mode 100644
index 0000000..453a22e
--- /dev/null
+++ b/examples/hakyll/examples.markdown
@@ -0,0 +1,27 @@
+---
+title: Examples
+---
+
+## Simple examples
+
+A number of simple examples are available in the GitHub repository. They can be
+found [here](https://github.com/jaspervdj/hakyll/tree/master/examples). The
+README located in that directory explains which example does what.
+
+## People using Hakyll
+
+A lot of sites running Hakyll also publish the source code. This is a very
+interesting resource to learn from as well. If you're using Hakyll for your
+site, and the source code is available, please notify me so I can add you to
+this list. This list has no particular ordering.
+
+- <http://jaspervdj.be/>,
+ [source](https://github.com/jaspervdj/jaspervdj)
+- <http://ethanschoonover.com/>,
+ [source](https://github.com/altercation/ethanschoonover.com)
+- <http://extralogical.net/>,
+ [source](https://github.com/beastaugh/extralogical.net)
+- <http://blog.demotera.com/>,
+ [source](https://bitbucket.org/paul_r/blog-de-demotera)
+- <http://projects.haskell.org/diagrams/>,
+ [source](http://patch-tag.com/r/byorgey/diagrams-doc/snapshot/current/content/pretty/web/)
diff --git a/examples/hakyll/hakyll.hs b/examples/hakyll/hakyll.hs
index 60ddc33..5ee755f 100644
--- a/examples/hakyll/hakyll.hs
+++ b/examples/hakyll/hakyll.hs
@@ -46,6 +46,7 @@ main = hakyll $ do
pages = [ "about.markdown"
, "changelog.markdown"
+ , "examples.markdown"
, "index.markdown"
, "philosophy.markdown"
, "reference.markdown"
diff --git a/examples/hakyll/images/hakyll-system-1.png b/examples/hakyll/images/hakyll-system-1.png
new file mode 100644
index 0000000..69e850c
--- /dev/null
+++ b/examples/hakyll/images/hakyll-system-1.png
Binary files differ
diff --git a/examples/hakyll/images/hakyll-system-2.png b/examples/hakyll/images/hakyll-system-2.png
new file mode 100644
index 0000000..eb424a9
--- /dev/null
+++ b/examples/hakyll/images/hakyll-system-2.png
Binary files differ
diff --git a/examples/hakyll/images/hakyll-system-3.png b/examples/hakyll/images/hakyll-system-3.png
new file mode 100644
index 0000000..cdffe2d
--- /dev/null
+++ b/examples/hakyll/images/hakyll-system-3.png
Binary files differ
diff --git a/examples/hakyll/index.markdown b/examples/hakyll/index.markdown
index c430ab3..ee44cf3 100644
--- a/examples/hakyll/index.markdown
+++ b/examples/hakyll/index.markdown
@@ -2,12 +2,6 @@
title: Home
---
-## Hakyll 3
-
-Hakyll 3 has been released, and it can be installed by running
-`cabal install hakyll`. For a limited time (but as long as is necessary) you can
-access the old site and documentation [here](/hakyll2)
-
## Overview
Hakyll 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
very configurable way and uses an [xmonad](http://xmonad.org)-like DSL for
configuration.
-## Why static site generators?
+Integration with [pandoc](http://johnmacfarlane.net/pandoc/) gives us markdown
+and TeX support, including syntax highlighting and other goodies.
+
+## The Hakyll System
-- Static sites are extremely fast.
-- You don't have to worry about security issues.
+### Write your content in whatever format you prefer
-## Features of Hakyll
+![Write your content](/images/hakyll-system-1.png)
-- Integration with [pandoc](http://johnmacfarlane.net/pandoc/) gives us markdown
- and TeX support, including syntax highlighting and other goodies.
-- An easy templating system.
-- Hakyll also features a simple http server for previewing your site.
+### Create compilation rules in a Haskell EDSL
-## See some examples
+![Write your rules](/images/hakyll-system-2.png)
-Some sites written in Hakyll:
+### Compile it to HTML and upload it!
-- Blog of [Demotera](http://blog.demotera.com/), a French engineering company
-- Personal home page and blog of [Chris Done](http://chrisdone.com/)
-- Personal home page and blog of [Jasper Van der Jeugt](http://jaspervdj.be/)
-- [The Haskell Alphabet](http://www.cis.upenn.edu/~byorgey/haskell-alphabet/)
- by Brent Yorgey
-- Personal home page and blog of [Nicolas Wu](http://zenzike.com/)
-- Home page of [Ethan Schoonover](http://ethanschoonover.com/)
-- [Extralogical](http://extralogical.net/) by Benedict Eastaugh
+![Compile it](/images/hakyll-system-3.png)
+
+## Hakyll 3
+
+Hakyll 3 has been released, and it can be installed by running
+`cabal install hakyll`. For a limited time (but as long as is necessary) you can
+access the old site and documentation [here](/hakyll2).
## Getting Started
diff --git a/examples/hakyll/sidebar.markdown b/examples/hakyll/sidebar.markdown
index fb40b5d..8396c75 100644
--- a/examples/hakyll/sidebar.markdown
+++ b/examples/hakyll/sidebar.markdown
@@ -4,5 +4,6 @@
[philosophy](/philosophy.html)
[about](/about.html)
[tutorial](/tutorial.html)
+[examples](/examples.html)
[reference](/reference.html)
[changelog](/changelog.html)