 .Params.disableNextPrev) (not .Site.Params.disableNextPrev)) }}
        {{- if and (or (eq $outputFormat "html") (eq $outputFormat "searchpage")) $showPrevNext }}
          {{- $parent := .Parent }}
          {{- $ispublished := true }}
          {{- if $parent }}
            {{- $ispublished = gt (int (len $parent.Permalink)) 0 }}
          {{- end }}
          {{- $startarrow := "&#129104;" }}
          {{- $endarrow := "&#129106;" }}
          {{- if eq (T "Reading-direction" | default "ltr") "rtl" }}
 