From a3a5163b5e6995613cc25b57327be01a967b4b7d Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sat, 16 Oct 2021 19:51:11 -0500 Subject: [PATCH] All posts should be under a div instead of only when there's none --- layouts/_default/list.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 59dfd39..65774e1 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -10,13 +10,13 @@ -{{ range .Paginator.Pages }} - {{ .Render "summary" }} -{{ else }} -
- {{ i18n "no_posts" }} +
+ {{ range .Paginator.Pages }} + {{ .Render "summary" }} + {{ else }} + {{ i18n "no_posts" }} + {{ end }}
-{{ end }} {{ if gt .Paginator.TotalPages 1 }}