rra
6c0f5a0c1b
added switch for multiple calendars based on categories added support for multiple calendars based on categories, added support for setting a default location added support for date ranges and fixed incorrect conversions to ical
37 lines
748 B
HTML
37 lines
748 B
HTML
|
|
{% extends "base.html" %}
|
|
|
|
{% block title %} Events list - {{ SITENAME }}{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
{% if events_list %}
|
|
<ul class="post-list">
|
|
{% for evstart, evend, event in events_list %}
|
|
<li>
|
|
<p>
|
|
<a href="../{{event.slug}}.html">
|
|
<b>{{event['title']}}</b>
|
|
</a>
|
|
</p>
|
|
<p>
|
|
{% if evstart.date() == evend.date() %}
|
|
From {{evstart}} to {{evend.time()}}
|
|
{% else %}
|
|
From {{evstart}} to {{evend}}
|
|
{% endif %}
|
|
</p>
|
|
|
|
{% if event.location %}
|
|
<p>Location: {{event.location}}</p>
|
|
{% endif %}
|
|
|
|
<p>{{event['summary']}}</p>
|
|
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
|
|
{% endblock %}
|