Fix: post detail pagination

feature/oscar-theme
Óscar M. Lage 2022-03-01 00:14:29 +01:00
parent c859eb3fd5
commit afddfe3469
1 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
{{- if .PrevPage }}
<a href="{{ .PrevPage.RelPermalink }}" class="left arrow">&#8592; {{ .PrevPage.Title }}</a>
{{- if .NextInSection }}
<a href="{{ .NextInSection.RelPermalink }}" class="left arrow">&#8592; {{ .NextInSection.Title }}</a>
{{- end }}
{{- if .NextPage }}
| <a href="{{ .NextPage.RelPermalink }}" class="right arrow">{{ .NextPage.Title }} &#8594;</a>
{{- if .PrevInSection }}
| <a href="{{ .PrevInSection.RelPermalink }}" class="right arrow">{{ .PrevInSection.Title }} &#8594;</a>
{{- end }}