{% load static %} {% with "umap/img/providers/"|add:name|add:".png" as path %} {{ name }} {% endwith %}