Add web manifest

Close #312
This commit is contained in:
George Cushen 2017-11-11 19:04:26 +00:00
commit b9ee3b4a6f
4 changed files with 14 additions and 1 deletions

View file

@ -84,8 +84,9 @@
<link rel="feed" href="{{ .RSSLink | default .Site.RSSLink }}" type="application/rss+xml" title="{{ .Site.Title }}">
{{ end }}
<link rel="manifest" href="site.webmanifest">
<link rel="icon" type="image/png" href="{{ "/img/icon.png" | relURL }}">
<link rel="apple-touch-icon" type="image/png" href="{{ "/img/apple-touch-icon.png" | relURL }}">
<link rel="apple-touch-icon" type="image/png" href="{{ "/img/icon-192.png" | relURL }}">
<link rel="canonical" href="{{ .Permalink }}">

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2 KiB

BIN
static/img/icon-192.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

12
static/site.webmanifest Normal file
View file

@ -0,0 +1,12 @@
{
"icons": [{
"src": "img/icon.png",
"sizes": "32x32",
"type": "image/png"
},{
"src": "img/icon-192.png",
"sizes": "192x192",
"type": "image/png"
}],
"start_url": "/"
}