From 9992643c7af411e3b612da4787dc30b9d7987591 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Sat, 7 Jan 2017 19:08:02 +0100 Subject: Fix Redirect example --- src/Hakyll/Web/Redirect.hs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') 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: -- -- cgit v1.2.3