{% load wagtailcore_tags %} {% firstof self.url self.page as target %}
{{ self.text }}