{% extends "!layout.html" %} {# put the sidebar before the body #} {{ sidebar() }} {# {% block sidebar1 %}{{ sidebar() }}{% endblock %} {% block sidebar2 %} {% endblock %} #} {# to show the bar on the left side #} {#{{ sidebar() }}#} {# show the relbar only before the document #} {% block relbar2 %} {{ sidebar() }} {% endblock %} {# update static links in the relbar #} {% block rootrellink %}