Rétablit les asides d'article du thème 2026
This commit is contained in:
12
themes/2026/layouts/_partials/article-asides.html
Normal file
12
themes/2026/layouts/_partials/article-asides.html
Normal 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 -}}
|
||||
Reference in New Issue
Block a user