{{ $isPad := or (in (slice "archive" "posts" "page") .Type) }} {{ $isPad = or $isPad (and (eq .Kind "page") (not (in (slice "about" "contact" "publication") .Type))) }} {{ $isPad = or $isPad (and (eq .Kind "section") (eq .Type "publication")) }} {{ $isPad = or $isPad (and (eq .Type "tags") (ne .Kind "taxonomyTerm")) }} {{ if ne $.Site.Language.LanguageDirection "rtl" }}
{{ else if and (eq $.Site.Language.LanguageDirection "rtl") ($.Param "enableSidebarMenu") }}