{% extends "base.html" %} {% load i18n static help %}{% comment %} The help frame (#325, the Help boards): every help page extends it. The help's contents at the inline start (help/_contents.html), the page, and On this page at the inline end (help/_toc.html) with an optional box for the page's one call to action under it. Narrower than a 64rem window On this page and the action move above the page's text, On this page as a disclosure; narrower than 52rem the contents become a "Help contents" disclosure under the breadcrumb. Each is drawn twice, once for each layout, and the stylesheet shows one (help.css), so the frame needs no JavaScript. Context: ``toc`` ([{"id", "name", "children"}], On this page; none, no column), ``help_action`` ({"title", "text", "label", "url"}, the call to action under it). Blocks: ``breadcrumb``, ``page_header`` (the h1 and lead), ``page_body`` (the text, after On this page on narrow screens). {% endcomment %} {% block content %} {% help_contents as contents %}
{% include "help/_contents.html" with variant="rail" %}
{% block breadcrumb %}{% endblock %} {% include "help/_contents.html" with variant="disclosure" %} {% block page_header %}{% endblock %} {% if toc or help_action %}
{% if toc %}{% include "help/_toc.html" with variant="disclosure" %}{% endif %} {% if help_action %}{% include "help/_action.html" %}{% endif %}
{% endif %} {% block page_body %}{% endblock %}
{% if toc or help_action %}
{% if toc %}{% include "help/_toc.html" with variant="rail" %}{% endif %} {% if help_action %}{% include "help/_action.html" %}{% endif %}
{% endif %}
{% endblock %} {% block scripts %}{% if toc %}{% endif %}{% endblock %}