Add favicons

This commit is contained in:
Will Faught
2022-12-21 12:35:10 -08:00
parent 2172619834
commit 32e3a084fb
38 changed files with 94 additions and 0 deletions

View File

@@ -1,3 +1,10 @@
<link href="/apple-touch-icon.png" rel="apple-touch-icon" sizes="180x180">
<link href="/favicon-16x16.png" rel="icon" sizes="16x16" type="image/png">
<link href="/favicon-32x32.png" rel="icon" sizes="32x32" type="image/png">
<link href="/favicon.png" rel="icon" type="image/png">
<link href="/favicon.svg" rel="icon" type="image/svg+xml">
<link color="{{ .Site.Params.paige.color | default `#0d6efd` }}" href="/safari-pinned-tab.svg" rel="mask-icon">
<link href="/site.webmanifest" rel="manifest">
{{ with .Site.Params.paige.bootstrap.styles_path }}
<link href="{{ relLangURL . }}" rel="stylesheet">
{{ else }}

View File

@@ -8,6 +8,8 @@
{{ if or .Keywords .Params.tags .Params.categories }}
<meta content="{{ delimit (sort (union (union .Keywords .Params.tags) .Params.categories)) `, ` }}" name="keywords">
{{ end }}
<meta content="{{ .Site.Params.paige.color | default `#0d6efd` }}" name="msapplication-TileColor">
<meta content="{{ .Site.Params.paige.color | default `#0d6efd` }}" name="theme-color">
<meta content="width=device-width, initial-scale=1" name="viewport">
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/twitter_cards.html" . }}