mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-27 14:12:09 +00:00
Add apple-touch-icon-precomposed for phones
Android, iOS, and other browsers use the pseudo-standard "apple-touch-icon-precomposed.png"; android recommends 192x192px and iOS downscales to 180x180px.
This commit is contained in:
parent
74e939f40b
commit
6cbe6cc5b1
2 changed files with 3 additions and 1 deletions
BIN
static/apple-touch-icon-precomposed.png
Normal file
BIN
static/apple-touch-icon-precomposed.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 885 B |
|
@ -8,8 +8,10 @@
|
|||
<link href="{{ .Site.BaseURL }}posts/index.xml" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}"/>
|
||||
{{ if eq .Site.BaseURL "https://envs.net/~seirdy/" -}}
|
||||
<meta name="robots" content="noindex">
|
||||
{{ end -}}
|
||||
{{ printf `<link rel="apple-touch-icon-precomposed" href="%s">` ("apple-touch-icon-precomposed.png" | absURL) | safeHTML }}
|
||||
{{ else -}}
|
||||
<link rel="canonical" href="https://seirdy.one{{ .RelPermalink }}"/>
|
||||
{{ end -}}
|
||||
{{ $resources := slice -}}
|
||||
{{ $resources = $resources | append (resources.Get "/css/main.css") -}}
|
||||
{{ $resources = $resources | append (resources.Get "/css/narrow.css") -}}
|
||||
|
|
Loading…
Reference in a new issue