{% load wagtailcore_tags %} {% if self.button_title %} {{ self.button_title|safe }} {% else %} Download {{ self.downloadable_file.title }} {% endif %} {% if self.automatic_download and not format == 'amp' %} {% endif %}