Use a table for talks listing

This commit is contained in:
Oliver Davies 2016-10-27 07:08:45 +01:00
parent 613c5f11a6
commit e32d9b2925
3 changed files with 51 additions and 53 deletions

View file

@ -0,0 +1,26 @@
<table class="table table-striped">
<thead>
<tr>
<th>Date</th>
<th>Talk</th>
<th>Event</th>
</tr>
</thead>
<tbody>
{% for talk in talks %}
<tr>
<td>
{{ talk.date|date(site.default_date_format) }}
</td>
<td>
<a href="{{ talk.url }}">
{{ talk.title }}
</a>
</td>
<td>{{ talk.event.name }}</td>
</tr>
{% endfor %}
</tbody>
</table>

View file

@ -1,8 +0,0 @@
<li>
{{ talk.event.name }} -
{% if talk.fuzzy_date %}
{{ talk.title }}
{% else %}
<a href="{{ talk.url }}">{{ talk.title }}</a>
{% endif %}
</li>