aboutsummaryrefslogtreecommitdiffhomepage
path: root/create
diff options
context:
space:
mode:
authorJoe Mooring <[email protected]>2023-09-16 09:06:14 -0700
committerBjørn Erik Pedersen <[email protected]>2023-09-19 11:46:05 +0200
commitf9163155d3cffc4cc994735b7ffbba5c561bb7a0 (patch)
tree044ec62a399f097f0aff4cdf711ad5045b4d8f9e /create
parent79a17d9e55d280fdaef3fe294a88027923eff62d (diff)
downloadhugo-f9163155d3cffc4cc994735b7ffbba5c561bb7a0.tar.gz
hugo-f9163155d3cffc4cc994735b7ffbba5c561bb7a0.zip
create/skeletons: Improve viewport meta tag
Remove initial-scale=1.0 (this is the browser default) Remove minimum-scale=1.0 (opinionated, can throw WCAG warning)
Diffstat (limited to 'create')
-rw-r--r--create/skeletons/theme/layouts/partials/head.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/create/skeletons/theme/layouts/partials/head.html b/create/skeletons/theme/layouts/partials/head.html
index c15b7b499..02c224018 100644
--- a/create/skeletons/theme/layouts/partials/head.html
+++ b/create/skeletons/theme/layouts/partials/head.html
@@ -1,5 +1,5 @@
<meta charset="utf-8">
-<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0">
+<meta name="viewport" content="width=device-width">
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>
{{ partialCached "head/css.html" . }}
{{ partialCached "head/js.html" . }}