added toc post parameter and normal+sidebar layouts

This commit is contained in:
Gabriele Musco 2021-12-16 13:29:08 +01:00
parent b0d60e3bf5
commit d613c241be
No known key found for this signature in database
GPG key ID: 0587A5D65B5DC99E
4 changed files with 47 additions and 9 deletions

View file

@ -42,6 +42,12 @@
<div id="sidebar_nav">
{{- partial "header_navigation.html" . -}}
</div>
{{ if and .IsPage .Params.toc }}
<div class="sidebarToc">
<hr />
{{ .TableOfContents }}
</div>
{{ end }}
{{ end }}
{{- partial "inject/header-after.html" . -}}
{{- partial "jumbotron.html" . -}}