aboutsummaryrefslogtreecommitdiffstats
path: root/code/frontpage/layouts/partials/head/favicons.html
diff options
context:
space:
mode:
Diffstat (limited to 'code/frontpage/layouts/partials/head/favicons.html')
-rw-r--r--code/frontpage/layouts/partials/head/favicons.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/code/frontpage/layouts/partials/head/favicons.html b/code/frontpage/layouts/partials/head/favicons.html
new file mode 100644
index 0000000..93c5ed5
--- /dev/null
+++ b/code/frontpage/layouts/partials/head/favicons.html
@@ -0,0 +1,9 @@
+<meta name="theme-color" content="{{ $.Site.Params.themeColor }}">
+<link rel="icon" href="{{ "favicon.ico" | absURL }}" sizes="any">
+{{ if os.FileExists "static/favicon.svg" -}}
+ <link rel="icon" type="image/svg+xml" href="{{ "favicon.svg" | absURL }}">
+{{ end -}}
+<link rel="apple-touch-icon" sizes="180x180" href="{{ "apple-touch-icon.png" | absURL }}">
+<link rel="icon" type="image/png" sizes="32x32" href="{{ "favicon-32x32.png" | absURL }}">
+<link rel="icon" type="image/png" sizes="16x16" href="{{ "favicon-16x16.png" | absURL }}">
+<link rel="manifest" crossorigin="use-credentials" href="{{ "site.webmanifest" | absURL }}">