mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 04:13:17 -06:00
All posts should be under a div instead of only when there's none
This commit is contained in:
parent
adf5c685be
commit
a3a5163b5e
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user