Merge pull request #260 from sophiabrandt/fix/paginator

[Bugfix] pagination, close #235
This commit is contained in:
Radek Kozieł 2021-10-24 10:03:55 +02:00 committed by GitHub
commit 360673bedf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@
</div> </div>
{{ end }} {{ end }}
<div class="posts"> <div class="posts">
{{ range .Pages }} {{ range .Paginator.Pages }}
<div class="post on-list"> <div class="post on-list">
<h1 class="post-title"> <h1 class="post-title">
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a> <a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>