#95: fixing link to next/prev post in the post page by analogy with post summary (layouts/partials/post-summary.html
)
This commit is contained in:
parent
5dab60e04a
commit
7cb4583894
@ -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