{% if a %} {% with 'svg/'|add:svg|add:".html" as template %} {% include template %} {% endwith %} {{ title }}