diff options
Diffstat (limited to 'site.hs')
-rw-r--r-- | site.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/site.hs b/site.hs index 7d88da9..d32fd49 100644 --- a/site.hs +++ b/site.hs @@ -7,6 +7,7 @@ import Hakyll -------------------------------------------------------------------------------- main :: IO () main = hakyll $ do + match "images/*" $ do route idRoute compile copyFileCompiler @@ -40,7 +41,7 @@ main = hakyll $ do >>= loadAndApplyTemplate "templates/default.html" postCtx >>= relativizeUrls - create ["archive.html"] $ do + create ["posts.html"] $ do route idRoute compile $ do posts <- recentFirst =<< loadAll "posts/*" |