1

Rétablit les asides d'article du thème 2026

This commit is contained in:
2026-03-25 21:50:37 +01:00
parent eef35b286e
commit 9595558c55
8 changed files with 269 additions and 67 deletions

View File

@@ -0,0 +1,12 @@
{{- $commentsMarkup := strings.TrimSpace (partial "asides/comments.html" .) -}}
{{- $keywordsMarkup := strings.TrimSpace (partial "asides/keywords.html" .) -}}
{{- if or (ne $commentsMarkup "") (ne $keywordsMarkup "") -}}
<section class="article-asides">
{{- with $commentsMarkup -}}
{{- . | safeHTML -}}
{{- end -}}
{{- with $keywordsMarkup -}}
{{- . | safeHTML -}}
{{- end -}}
</section>
{{- end -}}