diff --git a/templates/index.html b/templates/index.html index c5c8634..393876a 100644 --- a/templates/index.html +++ b/templates/index.html @@ -2,75 +2,58 @@ {% block title %}Conference archive{% endblock %} - {% block content %} -
-
-

Conference archive

+{% block content %} +
+

Conference archive

+
+ 👥 + {{ "{:,d}".format(count.conference) }} conferences
+ 🌍 + {{ "{:,d}".format(count.country) }} countries
+ 📍 + {{ "{:,d}".format(count.venue) }} venues
+ 🎤 + {{ "{:,d}".format(count.event) }} talks
+ 👤 + {{ "{:,d}".format(count.person) }} speakers + top speakers
+
+ +

Conferences

+ + {% for item in items %} + {% if loop.first or item.start.year != loop.previtem.start.year %} +

{{ item.start.year }}

+ {% endif %} + +
+ 👥 + {{ item.title }} + 📅 + {{ item.start.strftime("%d %b %Y") }} +
+ {% if item.venue %} + 📍 + {{ item.venue.name }} + – + {{ item.venue.city.name }}, + {{ item.venue.city.country.name }} + {{ item.venue.city.country.flag }} +
+ {% endif %} {# -
-
- - -
- -
+ {% if item.series %} + 📃 Series: {{ item.series.name }} +
+ {% endif %} #} -
- 👥 - {{ "{:,d}".format(count.conference) }} conferences
- 🌍 - {{ "{:,d}".format(count.country) }} countries
- 📍 - {{ "{:,d}".format(count.venue) }} venues
- 🎤 - {{ "{:,d}".format(count.event) }} talks {# - - most common titles #} -
- 👤 - {{ "{:,d}".format(count.person) }} speakers - top speakers
-
- -

Conferences

- - {% for item in items %} - {% if loop.first or item.start.year != loop.previtem.start.year %} -

{{ item.start.year }}

- {% endif %} - -
- 👥 - {{ item.title }} - 📅 - {{ item.start.strftime("%d %b %Y") }} -
- {% if item.venue %} - 📍 - {{ item.venue.name }} - – - {{ item.venue.city.name }}, - {{ item.venue.city.country.name }} - {{ item.venue.city.country.flag }} -
- {% endif %} - {# - {% if item.series %} - 📃 Series: {{ item.series.name }} -
- {% endif %} - #} - - {{ (item.end - item.start).days + 1 }} days, - {{ item.events.count() }} talks, - {{ item.people_detail.count() }} speakers
-
- {% endfor %} - - -
+ {{ (item.end - item.start).days + 1 }} days, + {{ item.events.count() }} talks, + {{ item.people_detail.count() }} speakers
+ {% endfor %} + +
{% endblock %} - -