From cd19cf40e6df95f074f7b1433c61a77962f8397f Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 30 Oct 2016 00:17:01 +0200 Subject: Add page icon --- Cooking.hs | 4 ++++ images/icon.png | Bin 0 -> 3110 bytes templates/main.html | 1 + 3 files changed, 5 insertions(+) create mode 100644 images/icon.png diff --git a/Cooking.hs b/Cooking.hs index 5c368d0..809f50f 100644 --- a/Cooking.hs +++ b/Cooking.hs @@ -5,6 +5,10 @@ import Hakyll main :: IO () main = hakyllWith configuration $ do + match "images/*" $ do + route idRoute + compile copyFileCompiler + match "design/*.hs" $ do route $ setExtension "css" compile $ getResourceString >>= withItemBody (unixFilter "runghc" []) diff --git a/images/icon.png b/images/icon.png new file mode 100644 index 0000000..2bb22d2 Binary files /dev/null and b/images/icon.png differ diff --git a/templates/main.html b/templates/main.html index 36da806..be23249 100644 --- a/templates/main.html +++ b/templates/main.html @@ -5,6 +5,7 @@