summaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html21
1 files changed, 10 insertions, 11 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index a88cca2..c61432e 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -5,30 +5,29 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
-
<link rel="stylesheet" type="text/css" href="{{ $cssMain.Permalink }}">
-
- {{ range .AlternativeOutputFormats -}}
- <link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" title="{{ $.Site.Title }}" href="{{ .Permalink }}">
- {{ end }}
-
+ {{- range .AlternativeOutputFormats }}
+ <link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" title="{{ $.Site.Title }}" href="{{ .Permalink }}">
+ {{- end }}
<title>{{ .Page.Title }} - {{ .Site.Title }}</title>
+ {{- block "head" . }}
+ {{- end }}
</head>
<body>
- {{ block "body" . }}
+ {{- block "body" . }}
<header id="site-header">
<div class="container">
<nav>
<a href="/" class="brand-name">{{ .Site.Title }}</a>
- {{ range .Site.Sections }}
+ {{- range .Site.Sections }}
<a href="{{ .Permalink }}">{{ .Title }}</a>
- {{ end }}
+ {{- end }}
</nav>
</div>
</header>
<main id="site-main">
<div class="container">
- {{ block "main" . }}{{ end }}
+ {{- block "main" . }}{{ end }}
</div>
</main>
<footer id="site-footer">
@@ -44,6 +43,6 @@
</p>
</div>
</footer>
- {{ end }}
+ {{- end }}
</body>
</html>