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.master
parent
39dbab8f8a
commit
ed4cda1ac4
|
@ -4,7 +4,7 @@
|
|||
<head>
|
||||
<meta http-equiv="X-Clacks-Overhead" content="GNU Terry Pratchett" />
|
||||
<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" . -}}
|
||||
<title>{{- block "title" . }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{- end }}</title>
|
||||
|
||||
|
|
Reference in New Issue