{% if sendfile_enabled %} {% if title %} {{ title }} {% else %} {{ note_instance.file.url }} {% endif %} {% else %} {% if title %} {{ title }} {% else %} {{ note_instance.file.url }} {% endif %} {% endif %}