{% comment %} The translated twins of this section (or, on the home page, of the book): read it side by side with the English in the reader, or download the twin PDF, or the English and twin side by side on landscape sheets. Renders nothing when there is no twin this reader may have. `variant` picks the setting: "rail" (the section rail's card), "bar" (the PDF view's exits) or "home" (under the full-book link). Context: translations — [{language, name, pdf_url, sbs_url, read_url}], from views._translation_links; sbs_url is "" when the sheets are not on disk, and read_url is "" where there is no reader (the home page). In the bar, each entry also has here_url (this view, with that translation), `twin` is the entry shown beside the English now (or None) and english_only_url goes back to the English alone. {% endcomment %} {% if translations %}{% if variant == "bar" %}
{% include "parody_web/_icon.html" with icon="translate" %}{% if twin %}{{ twin.name }}{% else %}Translations{% endif %} {% for t in translations %}{{ t.name }}: side by side · PDF{% if t.sbs_url %} · side-by-side PDF{% endif %} {% endfor %}{% if twin %}English only{% endif %}
{% elif variant == "home" %} {% else %}

Translations

{% for t in translations %}{{ t.name }}: {% if t.read_url %}side by side · {% endif %}PDF{% if t.sbs_url %} · side-by-side PDF{% endif %} {% endfor %}{% endif %}{% endif %}