1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 21:02:09 +00:00

Fix touch icon placement

This commit is contained in:
rohan kumar 2020-12-12 02:51:38 -08:00
parent 3086df92eb
commit 18812d6995
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -8,10 +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">
{{ 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 -}}
{{ printf `<link rel="apple-touch-icon-precomposed" href="%s">` ("apple-touch-icon-precomposed.png" | absURL) | safeHTML }}
{{ $resources := slice -}}
{{ $resources = $resources | append (resources.Get "/css/main.css") -}}
{{ $resources = $resources | append (resources.Get "/css/narrow.css") -}}