{% load wagtailcore_tags wagtailimages_tags %} {% firstof self.page.url self.link as target %} {% if self.align == 'center' %}