{% if page.author_profile or layout.author_profile or page.sidebar or page.layout=="textbook" %} {% endif %}