diff --git a/layouts/posts/single.html b/layouts/posts/single.html index e513bb8..7b2725e 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -24,9 +24,9 @@

-{{- if .Prev -}}Previous{{- end -}} -{{- if and (.Prev) (.Next) }} · {{ end -}} -{{- if .Next -}}Next{{- end -}} +{{- if .PrevInSection -}}Previous{{- end -}} +{{- if and (.PrevInSection) (.NextInSection) }} · {{ end -}} +{{- if .NextInSection -}}Next{{- end -}}