diff options
author | Paweł Dybiec <pawel@dybiec.info> | 2023-11-02 00:53:02 +0000 |
---|---|---|
committer | Paweł Dybiec <pawel@dybiec.info> | 2023-11-02 00:55:01 +0000 |
commit | f26447a143d1586466f4319f224d1ed2ccdd3e30 (patch) | |
tree | ee267243082e6426aa4f5fb933c591b05d8de34e /site.hs | |
parent | Cleanup (diff) |
Update about + minor details
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/*" |