aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/baseof.html61
1 files changed, 26 insertions, 35 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 8729df0..ea312f9 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,43 +1,34 @@
-<!DOCTYPE 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>{{ .Title }}</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.
+ <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>{{ .Title }}</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>
+ {{- partial "custom_head.html" . -}}
+ </head>
-<body>
- <header>
- {{- partial "header.html" . -}}
- </header>
- <main>
- {{- block "main" . }}{{- end }}
- </main>
- <footer>
- {{- partial "footer.html" . -}}
- </footer>
+ <body>
+ <header>{{- partial "header.html" . -}}</header>
+ <main>{{- block "main" . }}{{- end }}</main>
+ <footer>{{- partial "footer.html" . -}}</footer>
- <!-- A partial to be overwritten by the user.
+ <!-- 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>
-
+ {{- partial "custom_body.html" . -}}
+ </body>
</html>