ed4cda1ac4
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.
44 lines
1.2 KiB
HTML
44 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
|
|
|
|
<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" />
|
|
{{- partial "favicon.html" . -}}
|
|
<title>{{- block "title" . }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{- end }}</title>
|
|
|
|
{{- partial "seo_tags.html" . -}}
|
|
<meta name="referrer" content="no-referrer-when-downgrade" />
|
|
|
|
{{ with .OutputFormats.Get "rss" -}}
|
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
|
{{ end -}}
|
|
|
|
{{- partial "style.html" . -}}
|
|
|
|
<!-- A partial to be overwritten by the user.
|
|
Simply place a custom_head.html into
|
|
your local /layouts/partials-directory -->
|
|
{{- partial "custom_head.html" . -}}
|
|
</head>
|
|
|
|
<body>
|
|
<header>
|
|
{{- partial "header.html" . -}}
|
|
</header>
|
|
<main>
|
|
{{- block "main" . }}{{- end }}
|
|
</main>
|
|
<footer>
|
|
{{- partial "footer.html" . -}}
|
|
</footer>
|
|
|
|
<!-- A partial to be overwritten by the user.
|
|
Simply place a custom_body.html into
|
|
your local /layouts/partials-directory -->
|
|
{{- partial "custom_body.html" . -}}
|
|
</body>
|
|
|
|
</html>
|