diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2011-12-16 03:52:28 -0800 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2011-12-16 03:52:28 -0800 |
commit | 906be33f9c4c03c4d78d2e6eeeb4c0234e723e49 (patch) | |
tree | c6b005f3a60f698baf29899ba41051e37809c6fc /web | |
parent | ea20ca3acdb33a5cfb091eb60cefea0f0727eecf (diff) | |
parent | c842ec66d79dc2515e610cad1a2bf62739dca837 (diff) | |
download | hakyll-906be33f9c4c03c4d78d2e6eeeb4c0234e723e49.tar.gz |
Merge pull request #47 from GunioRobot/clean
Hi! I cleaned up your code for you!
Diffstat (limited to 'web')
-rw-r--r-- | web/css/syntax.css | 4 | ||||
-rw-r--r-- | web/tutorials/03-arrows.markdown | 2 | ||||
-rw-r--r-- | web/tutorials/04-guide.markdown | 10 |
3 files changed, 8 insertions, 8 deletions
diff --git a/web/css/syntax.css b/web/css/syntax.css index 1aed859..75ead0a 100644 --- a/web/css/syntax.css +++ b/web/css/syntax.css @@ -1,9 +1,9 @@ /* Generated by pandoc. */ -table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode, table.sourceCode pre +table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode, table.sourceCode pre { margin: 0; padding: 0; border: 0; vertical-align: baseline; border: none; } td.lineNumbers { border-right: 1px solid #AAAAAA; text-align: right; color: #AAAAAA; padding-right: 5px; padding-left: 5px; } td.sourceCode { padding-left: 5px; } -pre.sourceCode span.kw { color: #007020; font-weight: bold; } +pre.sourceCode span.kw { color: #007020; font-weight: bold; } pre.sourceCode span.dt { color: #902000; } pre.sourceCode span.dv { color: #40a070; } pre.sourceCode span.bn { color: #40a070; } 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 |