Fix: post detail pagination
This commit is contained in:
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…
x
Reference in New Issue
Block a user