Skip to content

Commit

Permalink
create/skeletons: Improve viewport meta tag
Browse files Browse the repository at this point in the history
Remove initial-scale=1.0 (this is the browser default)
Remove minimum-scale=1.0 (opinionated, can throw WCAG warning)
  • Loading branch information
jmooring authored and bep committed Sep 19, 2023
1 parent 79a17d9 commit f916315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion create/skeletons/theme/layouts/partials/head.html
Original file line number Diff line number Diff line change
@@ -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" . }}

0 comments on commit f916315

Please sign in to comment.