Allow adding `Content` on list pages
This commit is contained in:
parent
0eac254d58
commit
bc99ae777d
|
@ -16,6 +16,12 @@
|
|||
</header>
|
||||
{{- end }}
|
||||
|
||||
<div class="post-content">
|
||||
{{- if not (.Param "disableAnchoredHeadings") }}
|
||||
{{- partial "anchored_headings.html" .Content -}}
|
||||
{{- else }}{{ .Content }}{{ end }}
|
||||
</div>
|
||||
|
||||
{{- $pages := union .RegularPages .Sections }}
|
||||
|
||||
{{- if .IsHome }}
|
||||
|
|
Loading…
Reference in New Issue