summaryrefslogtreecommitdiff
path: root/web/tutorials
diff options
context:
space:
mode:
authorGun.io Whitespace Robot <contact@gun.io>2011-12-15 22:35:46 -0500
committerGun.io Whitespace Robot <contact@gun.io>2011-12-15 22:35:46 -0500
commitc842ec66d79dc2515e610cad1a2bf62739dca837 (patch)
treec6b005f3a60f698baf29899ba41051e37809c6fc /web/tutorials
parentea20ca3acdb33a5cfb091eb60cefea0f0727eecf (diff)
downloadhakyll-c842ec66d79dc2515e610cad1a2bf62739dca837.tar.gz
Remove whitespace [Gun.io WhitespaceBot]
Diffstat (limited to 'web/tutorials')
-rw-r--r--web/tutorials/03-arrows.markdown2
-rw-r--r--web/tutorials/04-guide.markdown10
2 files changed, 6 insertions, 6 deletions
diff --git a/web/tutorials/03-arrows.markdown b/web/tutorials/03-arrows.markdown
index 442fb3b..8c92c2b 100644
--- a/web/tutorials/03-arrows.markdown
+++ b/web/tutorials/03-arrows.markdown
@@ -22,7 +22,7 @@ has a `published` metadata element that does not have the value
isPublished :: Page a -> Bool
isPublished p =
let published = getField "published" p in
- published /= "" && published /= "false"
+ published /= "" && published /= "false"
~~~~~
The next step is to write a function that tags a page with its
diff --git a/web/tutorials/04-guide.markdown b/web/tutorials/04-guide.markdown
index ae55824..e8c5800 100644
--- a/web/tutorials/04-guide.markdown
+++ b/web/tutorials/04-guide.markdown
@@ -20,7 +20,7 @@ you need to get started building a site with hakyll.
This is one of the modules you should look at first. It defines the
fundamental `Compiler` type and has a bunch of documentation explaining how to
use `Compiler`s and their `Arrow`-based interface.
-
+
It also defines many primitive `Compiler`s as well as several
variants on `require`, which allow you to bring together multiple
resources to create a single output.
@@ -33,14 +33,14 @@ you need to get started building a site with hakyll.
Specify which compilers and routes should be used on which
resources.
-
+
Also has combinators for grouping (necessary if you want to use
the same resources for multiple purposes), creating outputs that
are not based on any resources, and even dynamically generating
compilers.
* [Hakyll.Core.Identifier.Pattern](/reference/Hakyll-Core-Identifier-Pattern.html)
-
+
Combinators for creating *patterns*, i.e. predicates that pick out
a set of resources: filesystem globs, arbitrary predicates,
explicit lists, regular expressions, and so on.
@@ -66,7 +66,7 @@ you need to get started building a site with hakyll.
The main `hakyll` function that runs the whole show. There is
also a `hakyllWith` function which allows for a custom
configuration.
-
+
## Pre-packaged solutions
These modules contain some "pre-packaged" solutions for common
@@ -108,7 +108,7 @@ inspiration for your own tools.
find and replace, split on regexp).
* [Hakyll.Core.Writable.WritableTuple](/reference/Hakyll-Core-Writable-WritableTuple.html)
-
+
A utility type covering the situation where you generate some
data, some of which you want to write to disk, and some of which
you don't want to write but will be needed in order to generate