Sidbare-Elemente in widget-Partials ausgelagert

This commit is contained in:
Marco Galster 2022-11-23 00:41:16 +01:00
parent ca19ee452b
commit 9827bb7ba7
15 changed files with 151 additions and 120 deletions

View file

@ -17,8 +17,9 @@
{{ define "sidebar" }}
<aside class="position-sticky" style="top: 2rem;">
<div class="p-4">
<aside class="position-sticky" style="top: 0.5rem;">
{{- partial "widget/header.html" (dict "title" "Inhaltsverzeichnis")}}
<div>
{{ .TableOfContents }}
</div>
</aside>