28 lines
700 B
HTML
28 lines
700 B
HTML
{{ define "main" }}
|
|
<main class="main--single">
|
|
{{ if .Title -}}
|
|
<header class="page-header">
|
|
{{ partial "page_header.html" (dict "page" .) }}
|
|
</header>
|
|
{{ end }}
|
|
|
|
{{ if .Params.tableOfContents | default .Params.renderTableofContents | default false -}}
|
|
<details>
|
|
<summary>{{ i18n "tableOfContents" }}</summary>
|
|
{{ .TableOfContents }}
|
|
</details>
|
|
{{- end }}
|
|
|
|
{{- .Content -}}
|
|
|
|
<footer class="page-footer">
|
|
{{ partial "page/footer.html" . }}
|
|
</footer>
|
|
</main>
|
|
{{ end }}
|
|
|
|
{{ define "after_content" }}
|
|
{{ range .Resources.Match "*.css" }}
|
|
<link rel="stylesheet" href="{{ .RelPermalink }}">
|
|
{{ end }}
|
|
{{ end }}
|