diff options
author | Joris | 2016-10-30 00:17:01 +0200 |
---|---|---|
committer | Joris | 2016-10-30 00:17:01 +0200 |
commit | cd19cf40e6df95f074f7b1433c61a77962f8397f (patch) | |
tree | 8614c8fddc610c580de34667ecd67dad1f3d285f | |
parent | cff739998124f40698680fb321f2032bf9ca480b (diff) |
Add page icon
-rw-r--r-- | Cooking.hs | 4 | ||||
-rw-r--r-- | images/icon.png | bin | 0 -> 3110 bytes | |||
-rw-r--r-- | templates/main.html | 1 |
3 files changed, 5 insertions, 0 deletions
@@ -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 Binary files differnew file mode 100644 index 0000000..2bb22d2 --- /dev/null +++ b/images/icon.png 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 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> <title>$title$</title> <link rel="stylesheet" href="/design/main.css" /> + <link rel="icon" href="/images/icon.png"> </head> <body> <a href="/" class="header"> |