summaryrefslogtreecommitdiffstats
path: root/layouts/_default/list.html.html
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-05-29 10:36:53 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-05-29 10:37:50 +0200
commit8dee2d1294b1f045621ebb93b1f9407d6fccd5ec (patch)
tree9f14ac105a2eda5584299555f7ea5edbb562aeee /layouts/_default/list.html.html
parent5e3d262a41a71a95f6333609767e3466a214ead4 (diff)
downloadgohugo-theme-ed-8dee2d1294b1f045621ebb93b1f9407d6fccd5ec.tar.gz
Fix default section type for the `params.mainSections`
Diffstat (limited to 'layouts/_default/list.html.html')
-rw-r--r--layouts/_default/list.html.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/layouts/_default/list.html.html b/layouts/_default/list.html.html
index 13f2947..1badde4 100644
--- a/layouts/_default/list.html.html
+++ b/layouts/_default/list.html.html
@@ -1,13 +1,13 @@
{{ define "main" }}
<div class="articles">
{{ with .Title }}<h1 class="page-title">{{ . }}</h1>{{ end }}
- {{- with .Content }}
- <div class="category-content">
- {{ .Content }}
- </div>
- {{- end }}
+ {{ with .Content }}
+ <div class="category-content">
+ {{ .Content }}
+ </div>
+ {{ end }}
{{ range .Paginator.Pages }}
- {{- .Render "teaser" }}
+ {{ .Render "teaser" }}
{{ end }}
</div>
{{ end }}