{% extends "base.html" %} {% block site_meta %} {{ super() }} {% if page.meta and page.meta.print_title %} {% endif %} {% endblock %} {% block styles %} {{ super() }} {% endblock %} {% block announce %}{% endblock %} {% block header %} {#- bundle.js requires a [data-md-component=header] element to exist (mountHeader); keep a real (but visually suppressed)
around our own floating toolbar. -#}
{% if nav %} {% endif %} {% if config.theme.palette %} {% if not config.theme.palette is mapping %} {% include "partials/palette.html" %} {% endif %} {% endif %} {% include ".icons/fontawesome/regular/file-pdf.svg" %}
{% if config.theme.palette %} {% if not config.theme.palette is mapping %} {% include "partials/javascripts/palette.html" %} {% endif %} {% endif %} {% endblock %} {% block hero %}{% endblock %} {#- Only the primary nav (no secondary TOC — a slide deck has no per-page headings worth a sidebar). Forced to always behave as an off-canvas drawer in slides.css, since the fullscreen layout has no room for an inline sidebar column at any width. -#} {% block site_nav %} {% if nav %}
{% include "partials/nav.html" %}
{% endif %} {% endblock %} {% block container %}
{#- Material scopes nearly all of its typography CSS (icons, admonitions, tables, tabs...) under .md-typeset; without it on an ancestor here, that CSS silently doesn't apply to slide content. -#}
{% for slide in page.slides %} {#- A CSS class, not a :first-child selector, marks the title slide: reveal's print-pdf layout moves every section into a new .pdf-page wrapper div, so it stops being .slides' direct child there — a structural selector would silently lose the hero styling in exports, a class survives the move. -#} {% set title_class = ' class="slide-title"' if loop.first else '' %} {% if slide | length > 1 %} {% for html in slide %}
{{ html }}
{% endfor %} {% else %} {{ slide[0] }} {% endif %} {% endfor %}
{% endblock %} {% block footer %} {% endblock %} {% block scripts %} {{ super() }} {% block reveal_script %} {% endblock %} {% endblock %}