Skip to content

2.1

Choose a tag to compare

@github-actions github-actions released this 02 Jul 04:06
· 94 commits to main since this release

Features

  • Add Django template tag support in component attributes. Component attributes now fully support Django template syntax including {% url %}, {{ variables }}, {% if %} conditionals, and all other template tags.

    <include:ui-button
      variant="primary"
      href="{% url 'settings' %}"
      class="btn {% if large %}btn-lg{% endif %}"
    >
      Save Settings
    </include:ui-button>

Bugfixes

  • Fix duplicate content block names error when nesting components with same named content blocks