{% macro section_badge(section) %} <span class="badge badge-secondary {{ section_container.solver.getHtmlClass(section) }}">{{ section.title }}</span> {% endmacro %}