trwnh.com/unified.test.hugo/layouts/wiki/single.html

28 lines
707 B
HTML
Raw Permalink Normal View History

2024-10-05 06:27:07 +00:00
{{ define "body" }}
2024-10-05 19:56:14 +00:00
<body class="wiki layout-wiki-single">
2024-10-18 07:33:33 +00:00
{{- $currentFolderName := or $.File.ContentBaseName "index" }}
{{- partial "wiki/site-header.html" .}}
{{- partial "wiki/breadcrumbs.html" .}}
<main class="page" {{- if .Param "autonumbering" }} autonumbering {{- 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>
2024-10-05 06:27:07 +00:00
</body>
{{ end }}