Skip to content

Commit

Permalink
Merge pull request #164 from w3c/jg_calendar
Browse files Browse the repository at this point in the history
Jg calendar
  • Loading branch information
jean-gui authored Nov 18, 2024
2 parents 125a599 + 505d941 commit bc411d5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/components/listings/events/entry.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<div>
<div class="not-sidebar">
{% block event_main_content %}
<h2 class="card__heading" id="event-{{ index }}-title">
<{{ event_heading|default('h2') }} class="card__heading" id="event-{{ index }}-title" data-anchor="no">
<a class="card__link" href="{% block event_url %}{{ entry.url }}{% endblock %}">
{% block event_title %}{{ entry.title }}{% endblock %}
</a>
</h2>
</{{ event_heading|default('h2') }}>
<div>
{% block event_excerpt %}
{{ entry.excerpt }}
Expand Down
5 changes: 5 additions & 0 deletions templates/pages/listing.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
{% block filters %}{% endblock %}
</div>
</div>
{% 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' %}
Expand Down

0 comments on commit bc411d5

Please sign in to comment.