From ed4cda1ac463692dc3f1ccaa810109fc98963da8 Mon Sep 17 00:00:00 2001 From: Jan Raasch Date: Fri, 2 Oct 2020 15:57:36 +0200 Subject: [PATCH] fix: improve accessibility on mobile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- layouts/_default/baseof.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index ae6f718..6bce2dc 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -4,7 +4,7 @@ - + {{- partial "favicon.html" . -}} {{- block "title" . }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{- end }}