{% load wagtailcore_tags %} {% if self.button_title %} {{ self.button_title|safe }} {% else %} Download {{ self.downloadable_file.title }} {% endif %}