{{ if $.Param "enableSidebar" }} {{ if and (or ($.Param "enableToc") ($.Param "toc")) (ne ($.Param "tocPosition") "outer") }} {{ end }} {{ end }}