{# Everything from down to the last script in the head is quasi's, emitted by the same shell a described screen renders through. See crate::shell: the site is being converted a screen at a time, and two heads written by two hands drift in ways nothing catches. What is left here is what a template has to own, because Askama renders these blocks in place and no caller ever holds them as a string. #} {{ crate::shell::head()|safe }} {% if let Some(token) = csrf_token %}{% endif %} {% block title %}Makenotwork{% endblock %} {# Global OG / Twitter card metadata. Per-page templates emit their own og:title / og:description / og:url / og:image / twitter:* tags from within {% block head %}; only the page-invariant tags live here. Pages without overrides (cart, library, policy) get a generic but valid card from site_name + type + card. og:type and twitter:card are blocks rather than plain tags because a page needs to CONTRADICT them, not add to them: an item is a product, a post is an article, a page with no image wants a summary card. Emitted unconditionally they shipped twice on every page that had its own, and a consumer that takes the first occurrence read this generic value and never the page's. Override the block; do not emit the tag again inside {% block head %}. #} {% block og_type %}{% endblock %} {% block social_card %}{% endblock %} {% block head %}{% endblock %} Skip to main content
{% block content %}{% endblock %}
{# Binds the described markdown field's Write/Preview chrome wherever one appears. Loaded here rather than beside each of the four surfaces because three of them arrive inside HTMX-swapped partials, and the binder rescans on settle. #} {% block scripts %}{% endblock %}