diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 45708b28..3911510f 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -24,13 +24,13 @@
{{- if .Description }}
- {{/* CUSTOM: `p` instead of `div` for consistency */}}
+ {{- /* CUSTOM: `p` instead of `div` for consistency */}}
- {{ .Description | markdownify }}
+ {{- .Description | markdownify -}}
{{- end }}
- {{/* CUSTOM: finished series */}}
+ {{- /* CUSTOM: finished series */}}
{{- if ne .Params.isFinished nil }}
{{- if .Params.isFinished }}
@@ -67,7 +67,7 @@
{{- end }}
{{- $term := .Data.Term }}
-{{/* CUSTOM: reverse-ordered lists */}}
+{{- /* CUSTOM: reverse-ordered lists */}}
{{- $pages := $paginator.Pages }}
{{- if .Params.reverseOrder }}
{{- $pages = $pages.Reverse }}
@@ -83,11 +83,10 @@
{{- $class = "post-entry tag-entry" }}
{{- end }}
-{{/* CUSTOM: hidden articles */}}
-{{ if not .Params.hidden }}
+{{- /* CUSTOM: hidden articles */}}
+{{- if not .Params.hidden }}
-
- {{/* CUSTOM: this adds post previews */}}
+ {{- /* CUSTOM: this adds post previews */}}
{{- $isPreviewHidden := (site.Params.cover.hidden | default site.Params.cover.hiddenInList) }}
{{- partial "preview.html" (dict "cxt" . "IsHome" true "isPreviewHidden" $isPreviewHidden) }}
@@ -96,10 +95,20 @@
{{- if (ne (.Param "hideSummary") true) }}