diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Site.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Site.hs b/src/Site.hs index c1e4854..b949807 100644 --- a/src/Site.hs +++ b/src/Site.hs | |||
@@ -87,8 +87,8 @@ main = hakyllWith config $ do | |||
87 | ] | 87 | ] |
88 | renderRss (feedConfig tag) feedCtx =<< loadAllSnapshots pattern "content" | 88 | renderRss (feedConfig tag) feedCtx =<< loadAllSnapshots pattern "content" |
89 | 89 | ||
90 | match "index.md" $ rulesExtraDependencies [tagsDependency tags] $ do | 90 | match "index.html" $ rulesExtraDependencies [tagsDependency tags] $ do |
91 | route $ setExtension ".html" | 91 | route idRoute -- $ setExtension ".html" |
92 | compile $ do | 92 | compile $ do |
93 | let ctx = mconcat [ listField "tags" defaultContext $ mapM (\(k, _) -> renderTag k tags) $ tagsMap tags | 93 | let ctx = mconcat [ listField "tags" defaultContext $ mapM (\(k, _) -> renderTag k tags) $ tagsMap tags |
94 | , constField "title" "Index" | 94 | , constField "title" "Index" |