Fix: post detail pagination
parent
c859eb3fd5
commit
afddfe3469
|
@ -1,7 +1,7 @@
|
|||
|
||||
{{- if .PrevPage }}
|
||||
<a href="{{ .PrevPage.RelPermalink }}" class="left arrow">← {{ .PrevPage.Title }}</a>
|
||||
{{- if .NextInSection }}
|
||||
<a href="{{ .NextInSection.RelPermalink }}" class="left arrow">← {{ .NextInSection.Title }}</a>
|
||||
{{- end }}
|
||||
{{- if .NextPage }}
|
||||
| <a href="{{ .NextPage.RelPermalink }}" class="right arrow">{{ .NextPage.Title }} →</a>
|
||||
{{- if .PrevInSection }}
|
||||
| <a href="{{ .PrevInSection.RelPermalink }}" class="right arrow">{{ .PrevInSection.Title }} →</a>
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in New Issue