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