{% from "macros/basic.html" import badge, octicon without context %} {% macro tabzone(tabs, active_tab) -%} {% if not active_tab %} {% set active_tab = tabs[0].id if tabs|length > 0 else '' %} {% endif %}