{% load block_tags %} {% block rightsidebarblocks %} {% render_blocks "rightsidebar" %} {% if content %} {% render_blocks "rightsidebar" for content %} {% endif %} {% if section %} {% render_blocks "rightsidebar" for section %} {% endif %} {% block extrarightsidebarblocks %} {% endblock %} {% endblock %}