diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index 2294b65..61a4722 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -50,23 +50,23 @@
{{- end }}
{{ if not .Site.Params.hideRelatedArticles -}}
- {{- $related := .Site.RegularPages.RelatedIndices . "topics" -}}
+ {{- $related := .Site.RegularPages.RelatedIndices . "topics" -}}
{{- partial "card-related"
(dict "related" $related "header" (i18n "related-articles") "id" "related") -}}
{{- end }}
{{ if not .Site.Params.hideSiblingArticles -}}
- {{- $related := .Site.RegularPages.RelatedIndices . "parents" -}}
+ {{- $related := .Site.RegularPages.RelatedIndices . "parents" -}}
{{- partial "card-related"
(dict "related" $related "header" (i18n "sibling-articles") "id" "siblings") -}}
{{- end }}
{{ if not .Site.Params.hideSectionArticles -}}
- {{- $section := or .Section "posts" -}}
- {{- $header := or (i18n (printf "articles-in-%s" $section)) (i18n "articles-in-section") -}}
- {{- $related := first 20 (where .Site.RegularPages "Section" $section) -}}
- {{- partial "card-related"
- (dict "related" $related "header" $header "id" "articles-in-section") -}}
+ {{- $section := or .Section "posts" -}}
+ {{- $header := or (i18n (printf "articles-in-%s" $section)) (i18n "articles-in-section") -}}
+ {{- $related := first 20 (where .Site.RegularPages "Section" $section) -}}
+ {{- partial "card-related"
+ (dict "related" $related "header" $header "id" "articles-in-section") -}}
{{- end }}