diff --git a/templates/components/listings/events/entry.html.twig b/templates/components/listings/events/entry.html.twig index d1a7fe6b..0a7acf6d 100644 --- a/templates/components/listings/events/entry.html.twig +++ b/templates/components/listings/events/entry.html.twig @@ -6,11 +6,11 @@
{% block event_main_content %} -

+ <{{ event_heading|default('h2') }} class="card__heading" id="event-{{ index }}-title" data-anchor="no"> {% block event_title %}{{ entry.title }}{% endblock %} -

+
{% block event_excerpt %} {{ entry.excerpt }} diff --git a/templates/pages/listing.html.twig b/templates/pages/listing.html.twig index bb8b4e10..126127cf 100644 --- a/templates/pages/listing.html.twig +++ b/templates/pages/listing.html.twig @@ -18,6 +18,11 @@ {% block filters %}{% endblock %}
+ {% block toc %} + {% if page.displayOnThisPageNavigation is defined and page.displayOnThisPageNavigation and toc is defined %} + {{ include('@W3CWebsiteTemplates/components/styles/toc.html.twig') }} + {% endif %} + {% endblock %} {% block list %}{% endblock %} {% block pagination %} {% include '@W3CWebsiteTemplates/components/styles/pagination.html.twig' %}