diff --git a/layouts/partials/previous-next-links.html b/layouts/partials/previous-next-links.html index 26739be7..0de52152 100644 --- a/layouts/partials/previous-next-links.html +++ b/layouts/partials/previous-next-links.html @@ -1,23 +1,24 @@ -{{if .NextInSection}} - - {{ .NextInSection.Title }} {{ partial "svg/ic_chevron_left_black_24px.svg" (dict "size" "30px") }} +{{if .Prev }} + + {{ partial "svg/ic_chevron_left_black_24px.svg" (dict "size" "30px") }} {{ .Prev.Title }} {{end}} -{{if .PrevInSection}} - - {{ partial "svg/ic_chevron_right_black_24px.svg" (dict "size" "30px") }} {{ .PrevInSection.Title }} +{{if .Next }} + + {{ .Next.Title }} {{ partial "svg/ic_chevron_right_black_24px.svg" (dict "size" "30px") }} {{end}} +