Merge pull request #96 from iakunin/issue-95
Fixing broken pagination links on the post page
This commit is contained in:
commit
9ca723f576
@ -2,12 +2,12 @@
|
|||||||
<div class="pagination post-pagination">
|
<div class="pagination post-pagination">
|
||||||
<div class="left pagination-item {{ if not .NextInSection }}disabled{{ end }}">
|
<div class="left pagination-item {{ if not .NextInSection }}disabled{{ end }}">
|
||||||
{{ if .NextInSection }}
|
{{ if .NextInSection }}
|
||||||
<a href="{{ .NextInSection.Permalink | relLangURL }}">{{ .NextInSection.Title }}</a>
|
<a href="{{ .NextInSection.RelPermalink }}">{{ .NextInSection.Title }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
<div class="right pagination-item {{ if not .PrevInSection }}disabled{{ end }}">
|
<div class="right pagination-item {{ if not .PrevInSection }}disabled{{ end }}">
|
||||||
{{ if .PrevInSection }}
|
{{ if .PrevInSection }}
|
||||||
<a href="{{ .PrevInSection.Permalink | relLangURL }}">{{ .PrevInSection.Title }}</a>
|
<a href="{{ .PrevInSection.RelPermalink }}">{{ .PrevInSection.Title }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user