1
0
Fork 0

add favicon

master
Rostyslav Hnatyshyn 2 weeks ago
parent 4e2cffd68c
commit f17e728c69
  1. 1
      .gitignore
  2. 2
      site.hs
  3. 5
      templates/default.html

1
.gitignore vendored

@ -12,3 +12,4 @@ posts/
publications/
files/
font-awesome/
favicon/

@ -16,7 +16,7 @@ main :: IO ()
main = hakyllWith config $ do
-- Static directories
match ("fonts/*" .||. "images/*" .||. "files/*" .||. "film/*" .||. "font-awesome/**") $ do
match ("fonts/*" .||. "images/*" .||. "files/*" .||. "film/*" .||. "font-awesome/**" .||. "favicon/*") $ do
route idRoute
compile copyFileCompiler

@ -10,6 +10,11 @@
<link href="/font-awesome/css/fontawesome.css" rel="stylesheet" />
<link href="/font-awesome/css/brands.css" rel="stylesheet" />
<link href="/font-awesome/css/solid.css" rel="stylesheet" />
<!-- favicon from http://www.dailydropcap.com/tag/r -->
<link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png">
<link rel="manifest" href="/favicon/site.webmanifest">
<script>
// check for dark mode preference, add functionality to theme switcher
document.addEventListener("DOMContentLoaded", function() {

Loading…
Cancel
Save