neues theme: add blueprints.yaml

This commit is contained in:
teldra 2023-01-10 17:11:16 +01:00
parent b7e3b2208b
commit e7879af1dd

View File

@ -28,15 +28,6 @@
'pagination': true
})|filter(page => page.header.event.start is defined)
%}
{% if config.plugins.events.event_sidebar.enable_categories %}
<div class="sidebar-content">
<h3 class="events-title">{{ "PLUGIN_EVENTS.EVENTS.BY_CATEGORY"|t }}</h3>
<ul class="event-tags">
{% for category in eventCategories %}
<li><a href="{{ base_url }}/events/category{{ config.system.param_sep }}{{ category|e('url') }}">{{ category|capitalize }}</a></li>
{% endfor %}
</ul>
{% endif %}
{% if events|length != 0 %}
<h3 class="events-title">{{ "PLUGIN_EVENTS.EVENTS.UPCOMING_EVENTS"|t }}</h3>
@ -45,7 +36,6 @@
{% for event in events %}
{% set date_header = event.header.event.start|date('F d') %}
{% if date_header != current_header %}
<li class="event-item-separator"></li>
<li class="event-day">
<span>{{ event.header.event.start|dateTranslate(config.plugins.events.event_sidebar.header) }}</span>
</li>