commit 7e578090a03250016e91b31140bebb99519b4a5f parent 57da91aef0467f08b4059b75b146b1ca11d3298f Author: Chris Bracken <chris@bracken.jp> Date: Wed, 10 Apr 2019 08:38:56 -0700 Add favicon links in page head These are hardcoded to be in static/favicon, though really that should probably be controlled by a config variable. Diffstat:
M | layouts/partials/head.html | | | 10 | ++++++++++ |
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/layouts/partials/head.html b/layouts/partials/head.html @@ -13,3 +13,13 @@ {{ range .AlternativeOutputFormats -}} {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} + +<link rel="apple-touch-icon" sizes="180x180" href="{{ "favicon/apple-touch-icon.png" | relURL }}"> +<link rel="icon" type="image/png" sizes="32x32" href="{{ "favicon/favicon-32x32.png" | relURL }}"> +<link rel="icon" type="image/png" sizes="16x16" href="{{ "favicon/favicon-16x16.png" | relURL }}"> +<link rel="manifest" href="{{ "favicon/site.webmanifest" | relURL }}"> +<link rel="mask-icon" href="{{ "favicon/safari-pinned-tab.svg" | relURL }}" color="#140f42"> +<link rel="shortcut icon" href="{{ "favicon/favicon.ico" | relURL }}"> +<meta name="msapplication-TileColor" content="#603cba"> +<meta name="msapplication-config" content="{{ "favicon/browserconfig.xml" | relURL }}"> +<meta name="theme-color" content="#ffffff">