Skip to content
Snippets Groups Projects
Verified Commit 09ce2534 authored by Jeffrey Phillips Freeman's avatar Jeffrey Phillips Freeman :boom:
Browse files

Merge branch 'upstream'

parents 59daf0c7 9844fe32
No related branches found
No related tags found
No related merge requests found
Pipeline #2169 passed with stage
in 1 minute and 43 seconds
......@@ -26,6 +26,7 @@
* Table of contents will now render if frontmatter `toc` is set to `true`.
* Fixed a bug where backslashes in the summary of a post could break ActivityPub
JSON endpoints.
* Fixed the paginator next and previous links, they were assigned backwards.
## 1.1.0
......
<div class='extra-pagination inner'>
<nav class='pagination' role='pagination'>
{{ if .Paginator.HasNext }}<a href="{{ .Paginator.Next.URL }}" class="newer-posts">← Newer Posts</a>{{ end }}
{{ if .Paginator.HasPrev }}<a href="{{ .Paginator.Prev.URL }}" class="newer-posts">← Newer Posts</a>{{ end }}
<span class='page-number'>Page {{ .Paginator.PageNumber }} of {{ .Paginator.TotalPages }}</span>
{{ if .Paginator.HasPrev }}<a href="{{ .Paginator.Prev.URL }}" class="older-posts">Older Posts →</a>{{ end }}
{{ if .Paginator.HasNext }}<a href="{{ .Paginator.Next.URL }}" class="older-posts">Older Posts →</a>{{ end }}
</nav>
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment