All posts should be under a div instead of only when there's none

This commit is contained in:
BBaoVanC 2021-10-16 19:51:11 -05:00
parent adf5c685be
commit a3a5163b5e
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
1 changed files with 6 additions and 6 deletions

View File

@ -10,13 +10,13 @@
</span>
</h1>
{{ range .Paginator.Pages }}
{{ .Render "summary" }}
{{ else }}
<div>
{{ i18n "no_posts" }}
<div class="posts">
{{ range .Paginator.Pages }}
{{ .Render "summary" }}
{{ else }}
{{ i18n "no_posts" }}
{{ end }}
</div>
{{ end }}
{{ if gt .Paginator.TotalPages 1 }}
<div class="pagination">