From 24387d0d93bf29751076cf2f1be8c5a07aee41a9 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Sun, 27 Jan 2019 16:54:56 +0100 Subject: Add Robert Pearce's tutorials --- web/site.hs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'web/site.hs') 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 -- cgit v1.2.3