{{/* TODO: Create a generic previous / next section for single section */}} {{ $previous_label := .previous_label | default (i18n "posts.previous") }} {{ $next_label := .next_label | default (i18n "posts.next") }} {{ $reversed := .reversed | default false }} {{ with .context }} {{ $previous_content := .PrevInSection }} {{ $next_content := .NextInSection }} {{ if $reversed }} {{ $previous_content = .NextInSection }} {{ $next_content = .PrevInSection }} {{ end }} {{- if or .PrevInSection .NextInSection -}}
{{- end -}} {{- end -}}