diff options
author | Jasper Van der Jeugt <m@jaspervdj.be> | 2017-01-07 19:08:02 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <m@jaspervdj.be> | 2017-01-07 19:08:02 +0100 |
commit | 9992643c7af411e3b612da4787dc30b9d7987591 (patch) | |
tree | fba639f426f89dbdf4b6cbf0388d034cf441e85b /src | |
parent | 718c9a407caddfdaeff56d1148f02fb09a088044 (diff) | |
download | hakyll-9992643c7af411e3b612da4787dc30b9d7987591.tar.gz |
Fix Redirect example
Diffstat (limited to 'src')
-rw-r--r-- | src/Hakyll/Web/Redirect.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Hakyll/Web/Redirect.hs b/src/Hakyll/Web/Redirect.hs index ead56fe..cd94fdc 100644 --- a/src/Hakyll/Web/Redirect.hs +++ b/src/Hakyll/Web/Redirect.hs @@ -35,7 +35,10 @@ import Hakyll.Core.Writable (Writable (..)) -- -- An example of a valid association list would be: -- --- > brokenLinks = [("/Black-market archive", "/Black-market%20archives")] +-- > brokenLinks = +-- > [ ("projects.html", "http://github.com/gwern") +-- > , ("/Black-market archive", "Black-market%20archives") +-- > ] -- -- In which case the functionality can then be used in `main` with a line like: -- |