{% load i18n %} {% if mvp_config.theme.choices %} {% comment %} c-menu.item renders a when given no href, so each entry is focusable and Enter/Space fires the click theme-change binds. A bare without href is not in the tab order and cannot be activated. {% endcomment %} {% for choice in mvp_config.theme.choices %} {% endfor %} {% else %} {% comment %} theme-change reads this pair as "first,second": clicking while the first is applied switches to the second, and anything else switches to the first. Built from configuration so the toggle follows a project that replaces the packaged themes, instead of stranding it on names the stylesheet no longer defines. {% endcomment %} {% endif %}