website/layouts/_default/single.html

52 lines
887 B
HTML

<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
{{ partial "head.html" . }}
<body>
<div id="all">
{{ partial "nav.html" . }}
{{ partial "breadcrumbs.html" . }}
<div id="content" class="mt-5 mb-5" style="min-height: calc(80vh - 180px)">
{{ if isset .Params "id" }}
{{ partial .Params.id . }}
{{ else }}
<div class="container">
{{ if .Params.toc }}
<aside>
<header>
<h1>{{ .Title }}</h1>
</header>
{{ .TableOfContents }}
</aside>
{{ end }}
<div>
{{ .Content }}
</div>
</div>
<!-- /.container -->
{{ end }}
</div>
<!-- /#content -->
</div>
<!-- /#all -->
{{ partial "footer.html" . }}
{{ partial "scripts.html" . }}
</body>
</html>