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