summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Site.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Site.hs b/src/Site.hs
index 241f596..25d11d0 100644
--- a/src/Site.hs
+++ b/src/Site.hs
@@ -58,7 +58,7 @@ main = hakyllWith config $ do
58 ] 58 ]
59 renderRss (feedConfig tag) feedCtx =<< loadAllSnapshots pattern "content" 59 renderRss (feedConfig tag) feedCtx =<< loadAllSnapshots pattern "content"
60 60
61 match "index.md" $ do 61 match "index.md" $ rulesExtraDependencies [tagsDependency tags] $ do
62 route $ setExtension ".html" 62 route $ setExtension ".html"
63 compile $ do 63 compile $ do
64 let ctx = mconcat [ listField "tags" defaultContext $ mapM (\(k, _) -> renderTag k tags) $ tagsMap tags 64 let ctx = mconcat [ listField "tags" defaultContext $ mapM (\(k, _) -> renderTag k tags) $ tagsMap tags