diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-11-06 00:10:36 +0000 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-11-06 00:10:36 +0000 |
commit | 7eed8a496de2f79517c9ab476a2fb7d84d51c679 (patch) | |
tree | 4623ff9ae35fef2f45d27d1f567ce2d8bc24701e | |
parent | 1686780a9119641977357eb8ee91b06a417d3955 (diff) | |
download | dirty-haskell.org-7eed8a496de2f79517c9ab476a2fb7d84d51c679.tar dirty-haskell.org-7eed8a496de2f79517c9ab476a2fb7d84d51c679.tar.gz dirty-haskell.org-7eed8a496de2f79517c9ab476a2fb7d84d51c679.tar.bz2 dirty-haskell.org-7eed8a496de2f79517c9ab476a2fb7d84d51c679.tar.xz dirty-haskell.org-7eed8a496de2f79517c9ab476a2fb7d84d51c679.zip |
index.html now depends on all taglists
-rw-r--r-- | src/Site.hs | 2 |
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 |