Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Commit 3676a7c

Browse files
committed
Fix single post pagination
1 parent 899d9fd commit 3676a7c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{{ if or ( .PrevInSection ) ( .NextInSection ) }}
22
<div class="pagination post-pagination">
3-
<div class="left pagination-item {{ if not .PrevInSection }}disabled{{ end }}">
4-
{{ if .PrevInSection }}
5-
<a href="{{ .PrevInSection.Permalink | relLangURL }}">{{ .PrevInSection.Title }}</a>
6-
{{ end }}
7-
</div>
8-
<div class="right pagination-item {{ if not .NextInSection }}disabled{{ end }}">
3+
<div class="left pagination-item {{ if not .NextInSection }}disabled{{ end }}">
94
{{ if .NextInSection }}
105
<a href="{{ .NextInSection.Permalink | relLangURL }}">{{ .NextInSection.Title }}</a>
116
{{ end }}
127
</div>
8+
<div class="right pagination-item {{ if not .PrevInSection }}disabled{{ end }}">
9+
{{ if .PrevInSection }}
10+
<a href="{{ .PrevInSection.Permalink | relLangURL }}">{{ .PrevInSection.Title }}</a>
11+
{{ end }}
12+
</div>
1313
</div>
1414
{{ end }}

0 commit comments

Comments
 (0)