diff --git a/libraries/categories/templates/categories/blocks/card.html b/libraries/categories/templates/categories/blocks/card.html index 793d92ff..94b5f061 100644 --- a/libraries/categories/templates/categories/blocks/card.html +++ b/libraries/categories/templates/categories/blocks/card.html @@ -1,13 +1,12 @@ {% load wagtailcore_tags wagtailimages_tags %} {% comment %} based on Portal's "card" template {% endcomment %}
- -

+

{% image value.thumbnail fill-600x400 class="card__thumb" %} {{ value.link.text|truncatewords:20 }} -

+
{% comment %} truncated on a bit of a "magic number" but this _usually_ results diff --git a/libraries/categories/templates/categories/category_page.html b/libraries/categories/templates/categories/category_page.html index 4f1f606c..025de3b0 100644 --- a/libraries/categories/templates/categories/category_page.html +++ b/libraries/categories/templates/categories/category_page.html @@ -3,6 +3,8 @@ {% block body_class %}page--{{ page.slug }}{% endblock %} {% block content %} +

{{ page.title }}

+
    {% for row in rows %} diff --git a/libraries/categories/templates/categories/row-item.html b/libraries/categories/templates/categories/row-item.html index 488e7f84..42beb56a 100644 --- a/libraries/categories/templates/categories/row-item.html +++ b/libraries/categories/templates/categories/row-item.html @@ -1,9 +1,9 @@ {% load wagtailcore_tags wagtailimages_tags %}
  • -

    +

    {{ item.title }} -

    +

    {{ item.search_description }}