{# shape_template.html #} {% extends '_base.html' %} {% import '_widgets.html' as widgets %} {% block title %}Niamoto - {{ shape.name }}{% endblock %} {% block extra_head %} {# #} {% endblock %} {% block sidebar %}
{% endblock %} {% block content %}
{# Full width widgets #}
{% for widget_key, widget in mapping.widgets.items() if widget.layout == 'full_width' %} {{ widgets.render_widget_content(widget, widget_key, stats) }} {% endfor %}
{# Grid layout widgets #}
{% for widget_key, widget in mapping.widgets.items() if widget.layout != 'full_width' %} {{ widgets.render_widget_content(widget, widget_key, stats) }} {% endfor %}
{% endblock %} {% block extra_scripts %} {% endblock %}