summaryrefslogtreecommitdiff
path: root/web/site.hs
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2019-01-27 16:54:56 +0100
committerJasper Van der Jeugt <m@jaspervdj.be>2019-01-27 16:54:56 +0100
commit24387d0d93bf29751076cf2f1be8c5a07aee41a9 (patch)
tree2d171648db290d0feebd3d8d067d6f571c18cc28 /web/site.hs
parentd832cd80ddf43872532db8943f310eed4edb7fe5 (diff)
downloadhakyll-24387d0d93bf29751076cf2f1be8c5a07aee41a9.tar.gz
Add Robert Pearce's tutorials
Diffstat (limited to 'web/site.hs')
-rw-r--r--web/site.hs9
1 files changed, 5 insertions, 4 deletions
diff --git a/web/site.hs b/web/site.hs
index 2bfaf3e..cb3ade4 100644
--- a/web/site.hs
+++ b/web/site.hs
@@ -105,10 +105,11 @@ hackage url
-- | Partition tutorials into tutorial series, other articles, external articles
tutorialsCtx :: [Item String] -> Context String
tutorialsCtx tuts =
- constField "title" "Tutorials" <>
- listField "main" defaultContext (ofType "main") <>
- listField "articles" defaultContext (ofType "article") <>
- listField "externals" defaultContext (ofType "external") <>
+ constField "title" "Tutorials" <>
+ listField "main" defaultContext (ofType "main") <>
+ listField "articles" defaultContext (ofType "article") <>
+ listField "externals" defaultContext (ofType "external") <>
+ listField "robertwpearce" defaultContext (ofType "robertwpearce") <>
defaultContext
where
ofType ty = filterM (\item -> do