add favicon
This commit is contained in:
@@ -12,3 +12,4 @@ posts/
|
|||||||
publications/
|
publications/
|
||||||
files/
|
files/
|
||||||
font-awesome/
|
font-awesome/
|
||||||
|
favicon/
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ main :: IO ()
|
|||||||
main = hakyllWith config $ do
|
main = hakyllWith config $ do
|
||||||
-- Static directories
|
-- Static directories
|
||||||
|
|
||||||
match ("fonts/*" .||. "images/*" .||. "files/*" .||. "film/*" .||. "font-awesome/**") $ do
|
match ("fonts/*" .||. "images/*" .||. "files/*" .||. "film/*" .||. "font-awesome/**" .||. "favicon/*") $ do
|
||||||
route idRoute
|
route idRoute
|
||||||
compile copyFileCompiler
|
compile copyFileCompiler
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,11 @@
|
|||||||
<link href="/font-awesome/css/fontawesome.css" rel="stylesheet" />
|
<link href="/font-awesome/css/fontawesome.css" rel="stylesheet" />
|
||||||
<link href="/font-awesome/css/brands.css" rel="stylesheet" />
|
<link href="/font-awesome/css/brands.css" rel="stylesheet" />
|
||||||
<link href="/font-awesome/css/solid.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>
|
<script>
|
||||||
// check for dark mode preference, add functionality to theme switcher
|
// check for dark mode preference, add functionality to theme switcher
|
||||||
document.addEventListener("DOMContentLoaded", function() {
|
document.addEventListener("DOMContentLoaded", function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user