{% extends "base.html" %} {% block title %}{{ document.title }}{% endblock %} {% block main_class %} class="document" data-collection="{{ document.collection }}"{% endblock %} {# The centre laid out as the mockup draws a document: a bar of breadcrumbs, then the text and the inspector side by side, each scrolling on its own, so the bar and the inspector stay put while the text moves (#447). #} {% block centre %}
{# Focusable and named, so the text scrolls from the keyboard: with focus on the page, PageDown moved nothing, and a document without a link had no stop inside it at all. #}

{{ document.title }}

{% if document.byline %}{% endif %} {% if document.has_blocked_images and not load_remote_images %} {% from "tip.html" import tip %}

{{ blocked_note }} {{ tip("images", blocked_action, blocked_tip) }} {{ blocked_action }}

{% endif %} {% if mark_withheld %}

{{ icon("info") }}{{ mark_withheld }}

{% endif %} {{ document.body_html | safe }}
{% from "resize.html" import handle %} {{ handle("inspector-width", "inspector", ".inspector", "left") }} {# `
` throughout, so each section opens without a script. #}
{% endblock %}