This commit is contained in:
parent
5c81568997
commit
7cce73e2ba
11 changed files with 109 additions and 16 deletions
|
@ -35,12 +35,19 @@
|
|||
{{- end }}
|
||||
|
||||
{{- if .Content }}
|
||||
<div class="post-content">
|
||||
{{- if not (.Param "disableAnchoredHeadings") }}
|
||||
{{- partial "anchored_headings.html" .Content -}}
|
||||
{{- else }}{{ .Content }}{{ end }}
|
||||
|
||||
<div class="flex-wrapper">
|
||||
<!-- if the page is a collection item, add the infobox -->
|
||||
{{- if eq .Section "collection" }}
|
||||
{{ partial "maec-encadre.html" . }}
|
||||
{{- end }}
|
||||
<div class="post-content">
|
||||
{{- if not (.Param "disableAnchoredHeadings") }}
|
||||
{{- partial "anchored_headings.html" .Content -}}
|
||||
{{- else }}{{ .Content }}{{ end }}
|
||||
</div>
|
||||
{{- end }}
|
||||
</div>
|
||||
{{- end }}
|
||||
|
||||
<footer class="post-footer">
|
||||
{{- $tags := .Language.Params.Taxonomies.tag | default "tags" }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue