on master help sign in
Merge pull request #138 from christopheryoung/master
553350aJasper Van der Jeugt
src/Hakyll/Web/Tags.hs+1−1
@@ -16,7 +16,7 @@
16-- > its populations have been damaged greatly by Nuclear...
16-- > its populations have been damaged greatly by Nuclear...
17--
17--
18-- To use categories, use the 'buildCategories' function. Categories are
18-- To use categories, use the 'buildCategories' function. Categories are
19−-- determined by the direcetory a page is in, for example, the post
19+-- determined by the directory a page is in, for example, the post
20--
20--
21-- > posts/coding/2010-01-28-hakyll-categories.markdown
21-- > posts/coding/2010-01-28-hakyll-categories.markdown
22--
22--
web/tutorials/01-installation.markdown+12−3
@@ -26,15 +26,24 @@ Linux distro packages:
26Building the example site
26Building the example site
27-------------------------
27-------------------------
28
28
29−Apart from the main Hakyll library, the cabal package also provided you with an
29+Apart from the main Hakyll library, the cabal package also provides you with an
30executable `hakyll-init` to create an example site. This is an easy way to get
30executable `hakyll-init` to create an example site. This is an easy way to get
31started:
31started:
32
32
33 $ hakyll-init my-site
33 $ hakyll-init my-site
34
34
35This creates a folder `my-site` in the current directory, with some example
35This creates a folder `my-site` in the current directory, with some example
36−content and a generic configuration. If `hakyll-init` is not found, you should
36+content and a generic configuration.
37+
37−make sure `$HOME/.cabal/bin` is in your `$PATH`.
38+If `hakyll-init` is not found, you should make sure `$HOME/.cabal/bin` is in
39+your `$PATH`.
40+
41+(If you're on OS X you may not have a bin directory in `$HOME/.cabal`. In this
42+case, check `$HOME/Library/Haskell/bin` and put it on your path if you find
43+`hakyll-init` there. See [here] for more information on installation paths on
44+OS X.)
45+
46+[here]: http://www.haskell.org/haskellwiki/Mac_OS_X_Common_Installation_Paths
38
47
39The file `site.hs` holds the configuration of your site, as an executable
48The file `site.hs` holds the configuration of your site, as an executable
40haskell program. We can compile and run it like this:
49haskell program. We can compile and run it like this: