la infobox est dans le layout now
Some checks failed
/ test (push) Has been cancelled

This commit is contained in:
gribse 2025-04-22 23:21:24 +02:00
parent 5c81568997
commit 7cce73e2ba
11 changed files with 109 additions and 16 deletions

View file

@ -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" }}