{% extends "puput/base.html" %} {% load i18n wagtailcore_tags wagtailimages_tags puput_tags wagtailroutablepage_tags social_share %} {% block title %} {{ self.title }} | {{ blog_page.title }} {% endblock title %} {% block meta_title %} {% if self.seo_title %} {{ self.seo_title }} {% else %} {{ self.title }} {% endif %} {% endblock meta_title %} {% block meta_description %} {% if self.search_description %} {{ self.search_description }} {% else %} {{ self.body|striptags|truncatewords:20 }} {% endif %} {% endblock meta_description %} {% block canonical %} {% canonical_url entry=self %} {% endblock canonical %} {% block social_share %} {% image self.header_image fill-800x450 as share_image %} {% if self.header_image %} {% endif %} {% endblock social_share %} {% block blog_content %} {% if self.categories.count > 0 %}
{{ self.excerpt|safe }}
{% if self.header_image %}