aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cooking.hs4
-rw-r--r--images/icon.pngbin0 -> 3110 bytes
-rw-r--r--templates/main.html1
3 files changed, 5 insertions, 0 deletions
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
--- /dev/null
+++ b/images/icon.png
Binary files 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 @@
<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">