mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 17:22:46 +00:00
add next article and previous article links
This commit is contained in:
parent
1749a199c8
commit
051d75c647
@ -28,6 +28,17 @@
|
||||
<main class="nested-copy-line-height lh-copy serif f4 nested-links nested-img mid-gray pr4-l w-two-thirds-l">
|
||||
{{- .Content -}}
|
||||
{{- partial "tags.html" . -}}
|
||||
|
||||
<div class="mt6">
|
||||
{{ with .PrevInSection }}
|
||||
<< <a href="{{ .Permalink }}">{{ .Title }}</a>
|
||||
{{ end }}
|
||||
{{ with .NextInSection }}
|
||||
<a href="{{ .Permalink }}">{{ .Title }}</a> >>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
|
||||
<div class="mt6">
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user