summaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2022-04-18 11:22:33 +0200
committerPatrick Spek <p.spek@tyil.nl>2022-04-18 20:49:18 +0200
commita190487ef793aeeb0937322cf98383b7505b5ceb (patch)
treeed570406d9b352324c5d8b3a7ed60c84183ada2f /layouts/_default/baseof.html
parent04c13d8007efe2597cad3fe24436368bed73bf1f (diff)
Add a cookbook section
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>