{% for link in object_navigation_links %}
{% with 'true' as as_li %}
{% with ' ' as li_class_active %}
{% with 'btn-sm' as link_classes %}
{% include 'navigation/generic_subnavigation.html' %}
{% endwith %}
{% endwith %}
{% endwith %}
{% endfor %}
{% else %}
{% for link in object_navigation_links %}
{% include 'navigation/generic_subnavigation.html' %}
{% endfor %}
{% endif %}