{% if pagename != 'index' and pagename != 'genindex' and pagename != 'search' and pagename != '404' and status_code != 404 %}