diff --git a/templates/cdhpages/blocks/tile.html b/templates/cdhpages/blocks/tile.html index 3c1ba2f6..0121a2b1 100644 --- a/templates/cdhpages/blocks/tile.html +++ b/templates/cdhpages/blocks/tile.html @@ -23,7 +23,6 @@ {% if tile_type == 'internal_page_tile' %} {% if internal_page.specific.page_type == 'BlogPost' %} -

{{ internal_page.specific.category }}

{{ internal_page.specific.first_published_at|date:"j F Y" }}

{{ internal_page.specific.short_description|default:internal_page.specific.description|richtext }} @@ -69,12 +68,14 @@ {% endif %} - {% if internal_page.specific.cdh_built or internal_page.specific.page_type == 'Event' %} + {% if internal_page.specific.cdh_built or internal_page.specific.page_type == 'Event' or internal_page.specific.page_type == 'BlogPost' %}
{% if internal_page.specific.cdh_built %}
Built by CDH
- {% elif internal_page.specific.page_type == 'Event' %} + {% elif internal_page.specific.page_type == 'Event' and internal_page.specific.type %}
{{ internal_page.specific.type }}
+ {% elif internal_page.specific.category %} +
{{ internal_page.specific.category }}
{% endif %}
{% endif %}