File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
components/listings/events Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 6
6
<div >
7
7
<div class =" not-sidebar" >
8
8
{% block event_main_content %}
9
- <h2 class =" card__heading" id =" event-{{ index }}-title" >
9
+ < {{ event_heading | default ( ' h2 ' ) }} class="card__heading" id="event-{{ index }}-title" data-anchor="no ">
10
10
<a class =" card__link" href =" {% block event_url %}{{ entry .url }}{% endblock %}" >
11
11
{% block event_title %}{{ entry .title }}{% endblock %}
12
12
</a >
13
- </h2 >
13
+ < /{{ event_heading | default ( ' h2 ' ) }} >
14
14
<div >
15
15
{% block event_excerpt %}
16
16
{{ entry .excerpt }}
Original file line number Diff line number Diff line change 18
18
{% block filters %}{% endblock %}
19
19
</div >
20
20
</div >
21
+ {% block toc %}
22
+ {% if page .displayOnThisPageNavigation is defined and page .displayOnThisPageNavigation and toc is defined %}
23
+ {{ include (' @W3CWebsiteTemplates/components/styles/toc.html.twig' ) }}
24
+ {% endif %}
25
+ {% endblock %}
21
26
{% block list %}{% endblock %}
22
27
{% block pagination %}
23
28
{% include ' @W3CWebsiteTemplates/components/styles/pagination.html.twig' %}
You can’t perform that action at this time.
0 commit comments