2019-11-19 04:37:11 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
2019-11-19 04:39:28 +00:00
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2019-11-21 04:38:53 +00:00
|
|
|
<title>{{- block "title" . -}}
|
2019-11-19 04:39:28 +00:00
|
|
|
{{ .Site.Title }}
|
2019-11-21 04:38:53 +00:00
|
|
|
{{- end -}}</title>
|
2019-11-19 04:39:28 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2019-11-21 04:38:53 +00:00
|
|
|
<header>
|
|
|
|
{{- block "site-header" . -}}
|
|
|
|
<!-- Code that all your templates share, like a header -->
|
|
|
|
{{ partial "header.html" . }}
|
|
|
|
{{- end }}
|
|
|
|
<nav>
|
|
|
|
{{ block "site-menu" . -}}
|
|
|
|
{{ partial "site-menu.html" . }}
|
|
|
|
{{- end }}
|
|
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
<main>
|
|
|
|
<header>
|
|
|
|
{{- block "content-header" . -}}
|
|
|
|
{{- end -}}
|
|
|
|
<nav>
|
|
|
|
{{- block "content-menu" . -}}
|
|
|
|
{{- end -}}
|
|
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
<section>
|
|
|
|
{{- block "content" . -}}
|
|
|
|
<!-- The part of the page that begins to differ between templates -->
|
|
|
|
{{ end }}
|
|
|
|
</section>
|
2019-11-23 19:32:40 +00:00
|
|
|
<footer>
|
|
|
|
{{- block "content-footer" . -}}
|
|
|
|
{{- end -}}
|
|
|
|
</footer>
|
2019-11-21 04:38:53 +00:00
|
|
|
</main>
|
|
|
|
<footer>
|
|
|
|
{{- block "footer" . -}}
|
|
|
|
<!-- More shared code, perhaps a footer but that can be overridden if need be in -->
|
|
|
|
{{- partial "footer.html" . -}}
|
|
|
|
{{- end -}}
|
|
|
|
</footer>
|
2019-11-19 04:39:28 +00:00
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|