$$ components
{% component maybe(a=None) %}{% if a is none %}None{% else %}Not none{% endif %}{% endcomponent %}
$$ tpl
{{ <maybe /> }}