diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-24 09:26:18 +0000 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-24 09:26:18 +0000 |
commit | 675a696bcbb2da2133e661a6282fd6645dfa71ae (patch) | |
tree | f34f8d593d9e1df3cd0e33e4623dc0c44fc646ce /src | |
parent | 8152c250c54b6be6533eecf393d38c83b4c66348 (diff) | |
download | dirty-haskell.org-675a696bcbb2da2133e661a6282fd6645dfa71ae.tar dirty-haskell.org-675a696bcbb2da2133e661a6282fd6645dfa71ae.tar.gz dirty-haskell.org-675a696bcbb2da2133e661a6282fd6645dfa71ae.tar.bz2 dirty-haskell.org-675a696bcbb2da2133e661a6282fd6645dfa71ae.tar.xz dirty-haskell.org-675a696bcbb2da2133e661a6282fd6645dfa71ae.zip |
Fix existence of index.html
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" |