Files
musenalm/views/routes/redaktion/literatur/body.gohtml
2025-03-02 20:17:06 +01:00

21 lines
497 B
Plaintext

{{ $toc := TOCFromHTML .record.Text }}
<div class="container-normal relative">
<div class="text ">
{{ if .record.Title }}<h1 class="mb-12">{{ .record.Title }}</h1>{{ end }}
<div class="flex flex-row gap-x-6 justify-between ">
<div class="grow shrink-0 text indented jumptext">
{{ Safe .record.Text }}
</div>
<div>
{{- if $toc -}}
<div class="xl:sticky xl:top-8 grow-0">
{{- template "_toc" $toc -}}
</div>
{{- end -}}
</div>
</div>
</div>
</div>