{{if and (ne (printf "%v" (theme_mod . "sidebar")) "none") (is_active_sidebar . "sidebar-1") (ne .Template "404")}}{{end}}