fix: improve accessibility on mobile

Fixes #6.

To be honest I did not think about this at all. I simply copied the code from the original »Bear Blog«

https://github.com/HermanMartinus/bearblog/blob/master/templates/base.html#L7

It seems like iOS ignores the declarations of user-scalable, minimum-scale, and maximum-scale, as of iOS 10, see https://sitebulb.com/hints/mobile-friendly/the-viewport-meta-tag-prevents-the-user-from-scaling/ so we might as well remove this.
This commit is contained in:
Jan Raasch 2020-10-02 15:57:36 +02:00
parent 39dbab8f8a
commit ed4cda1ac4

View File

@ -4,7 +4,7 @@
<head> <head>
<meta http-equiv="X-Clacks-Overhead" content="GNU Terry Pratchett" /> <meta http-equiv="X-Clacks-Overhead" content="GNU Terry Pratchett" />
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0,user-scalable=0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
{{- partial "favicon.html" . -}} {{- partial "favicon.html" . -}}
<title>{{- block "title" . }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{- end }}</title> <title>{{- block "title" . }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{- end }}</title>