Allow adding Content on list pages

This commit is contained in:
Aditya Telange 2021-09-02 13:33:47 +05:30
parent 0eac254d58
commit bc99ae777d
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77

View File

@ -16,6 +16,12 @@
</header> </header>
{{- end }} {{- end }}
<div class="post-content">
{{- if not (.Param "disableAnchoredHeadings") }}
{{- partial "anchored_headings.html" .Content -}}
{{- else }}{{ .Content }}{{ end }}
</div>
{{- $pages := union .RegularPages .Sections }} {{- $pages := union .RegularPages .Sections }}
{{- if .IsHome }} {{- if .IsHome }}