1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 02:55:33 -04:00
This commit is contained in:
2020-01-19 18:19:34 -05:00
parent f51e912632
commit 96e3130ba5
12 changed files with 35 additions and 41 deletions

View File

@@ -3,39 +3,14 @@
"short_name": "{{ .Site.Params.domain }}",
"icons": [
{
"src": "{{ "favicon-512.png" | absURL }}",
"src": "{{ "android-chrome-512x512.png" | absURL }}",
"sizes": "512x512",
"type": "image/png"
},
{
"src": "{{ "favicon-192.png" | absURL }}",
"src": "{{ "android-chrome-192x192.png" | absURL }}",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "{{ "favicon-180.png" | absURL }}",
"sizes": "180x180",
"type": "image/png"
},
{
"src": "{{ "favicon-152.png" | absURL }}",
"sizes": "152x152",
"type": "image/png"
},
{
"src": "{{ "favicon-128.png" | absURL }}",
"sizes": "128x128",
"type": "image/png"
},
{
"src": "{{ "favicon-96.png" | absURL }}",
"sizes": "96x96",
"type": "image/png"
},
{
"src": "{{ "favicon-64.png" | absURL }}",
"sizes": "64x64",
"type": "image/png"
}
],
"start_url": "{{ .Site.BaseURL }}",

View File

@@ -11,3 +11,4 @@
# https://github.com/w3c/manifest/issues/689
/manifest.webmanifest /manifest.json 200
/site.webmanifest /manifest.json 200

View File

@@ -1,4 +1,4 @@
<link rel="apple-touch-icon" href="{{ "apple-touch-icon.png" | absURL }}">
<link rel="apple-touch-icon" href="{{ "apple-touch-icon.png" | absURL }}" sizes="180x180">
<link rel="mask-icon" href="{{ "safari-pinned-tab.svg" | absURL }}" color="#009cdf">
{{ range (split .png_sizes " ") -}}

View File

@@ -4,10 +4,12 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<meta name="apple-mobile-web-app-title" content="{{ .Site.Title }}">
<meta name="msapplication-TileColor" content="#0e6dc2">
<meta name="theme-color" content="#0e6dc2">
{{ partialCached "head/preload" . -}}
{{ partialCached "head/styles" . -}}
{{ partialCached "head/favicons" (dict "png_sizes" "192 48 32 16" "ico_sizes" "16 32 48") -}}
<link rel="manifest" href="{{ "site.webmanifest" | absURL }}">
<link rel="canonical" href="{{ .Permalink }}">
<link rel="alternate" type="application/rss+xml" href="{{ "feed.xml" | absURL }}" title="{{ .Site.Title }} (RSS)">
<link rel="author" href="{{ "humans.txt" | absURL }}">