{# Typed version/lifecycle notice with an explicit trusted-content region. #} {% def directive_version_notice(kind: str, badge_label: str, has_content: bool = false) %}
{{ badge_label }}
{% if has_content %}
{% slot content %}
{% end %}
{% end %}