28 lines
No EOL
744 B
HTML
28 lines
No EOL
744 B
HTML
{{ define "body" }}
|
|
<body class="wiki layout-wiki-single">
|
|
{{- $currentFolderName := or $.File.ContentBaseName "index" }}
|
|
{{- partial "kb/site-header.html" .}}
|
|
{{- partial "kb/breadcrumbs.html" .}}
|
|
<main class="page" {{- if .Param "autonumbering" }} autonumbering {{- end }}{{- if .Param "toc" }} has-toc {{- end }}>
|
|
{{- with .Title}}
|
|
<header class="section page-header">
|
|
<div class="container">
|
|
<h1 class="page-title">{{ . }}</h1>
|
|
</div>
|
|
</header>
|
|
{{- end }}
|
|
{{- if .Params.toc }}
|
|
<aside class="toc section">
|
|
<div class="container">
|
|
{{- partial "components/table-of-contents.html" . }}
|
|
</div>
|
|
</aside>
|
|
{{- end }}
|
|
<section class="content section">
|
|
<div class="container hugo-content">
|
|
{{ .Content -}}
|
|
</div>
|
|
</section>
|
|
</main>
|
|
</body>
|
|
{{ end }} |