{% extends "djust_theming/catalogue/_document.html" %} {% load theme_tags theme_components djust_components static %} {% comment %} The catalogue's page shape, independent of the document around it: the mount root, the sidebar, and the column the three page templates fill. The document is ``_document.html``, and a host site replaces the catalogue's chrome by shadowing that path — see the contract in its own comment. Nothing in this file is chrome, so a host keeps all of it. The blocks this file exposes are NAMESPACED — `catalogue_content`, `catalogue_content_class` — because a host document is an ancestor in the same inheritance chain. A plain `content` block collided with the one `marketing/base.html` on djust.org already defined, and Django resolved the page's override against the HOST's block: the page rendered, the sidebar and the mount root did not. The SIDEBAR lives here rather than in the document because it has to sit inside the mount root: its search box and category headers are ``dj-input`` / ``dj-click`` server events, and djust only binds and dispatches events for elements inside the dj-root region. {% endcomment %} {% block body %} {% comment %} NOTE: none of these comments spell the mount tag out with angle brackets. `_search_dj_root_open` scans the RAW template source, so a comment quoting the tag is matched as if it were markup. {% endcomment %}