{% if effective_theme and effective_theme.is_active %} {# Extended themes: load a full override stylesheet when the theme marks itself #} {% if effective_theme.css_variables and '"--theme-stylesheet"' in effective_theme.css_variables %} {% if '"enhanced"' in effective_theme.css_variables %} {% elif '"hackers"' in effective_theme.css_variables %} {% elif '"graphite-teal"' in effective_theme.css_variables %} {% elif '"ivory-editorial"' in effective_theme.css_variables %} {% elif '"retro-web"' in effective_theme.css_variables %} {% elif '"command-deck"' in effective_theme.css_variables %} {% elif '"ceefax-teletext"' in effective_theme.css_variables %} {% elif '"brass-oscilloscope"' in effective_theme.css_variables %} {% elif '"mahogany-study"' in effective_theme.css_variables %} {% elif '"cyanotype-blueprint"' in effective_theme.css_variables %} {% elif '"riso-pop-art"' in effective_theme.css_variables %} {% endif %} {% endif %} {% endif %} {% block extra_css %}{% endblock %} {# CSRF token for fetch()-based POSTs (vote API, future AJAX endpoints) #} {% if csrf_token is defined %} {% endif %} {% block head_extra %}{% endblock %}
{# Command Deck phone bottom tab bar — new, small, additive markup gated entirely to this one theme (see command_deck_theme.css's own header comment). Inert/zero bytes for every other theme. Recomputes the PM-unread count inline rather than reusing `unread2` above, matching this file's own existing convention of recomputing per-section rather than sharing {% set %} scope across an {% if %} boundary. #} {% if effective_theme and effective_theme.is_active and effective_theme.css_variables and '"command-deck"' in effective_theme.css_variables %} {% endif %}