{{ if or .Next .Prev -}} {{- with .Prev }} Previous:{{.Title}} {{ end -}} {{- with .Next -}} Next:{{.Title}} {{ end -}} {{ end -}}