Add blank lines for readability

This commit is contained in:
Oliver Davies 2017-07-10 02:11:40 +01:00
parent c583d1b202
commit 9deeaf6772
2 changed files with 10 additions and 0 deletions

View file

@ -3,10 +3,13 @@
<thead> <thead>
<tr> <tr>
<th style="width: 20%">Date</th> <th style="width: 20%">Date</th>
{% if not talk_page %} {% if not talk_page %}
<th style="width: 40%">Talk</th> <th style="width: 40%">Talk</th>
{% endif %} {% endif %}
<th>Event</th> <th>Event</th>
{% if not upcoming %} {% if not upcoming %}
<th style="width: 10%">Feedback</th> <th style="width: 10%">Feedback</th>
{% endif %} {% endif %}
@ -16,12 +19,14 @@
{% for row in events %} {% for row in events %}
{% set talk = false %} {% set talk = false %}
{% set key = row.date.talk.id ?: row.date.talk %} {% set key = row.date.talk.id ?: row.date.talk %}
{% for item in row.talks if key == item.filename|split('.')|first %} {% for item in row.talks if key == item.filename|split('.')|first %}
{% set talk = item %} {% set talk = item %}
{% endfor %} {% endfor %}
<tr> <tr>
<td> <td>
{{ row.date.date|date(row.date.fuzzy_date ? 'F Y' : 'j F Y') }} {{ row.date.date|date(row.date.fuzzy_date ? 'F Y' : 'j F Y') }}
{% if row.date.time %} {% if row.date.time %}
<small class="display-block">{{ row.date.time }}</small> <small class="display-block">{{ row.date.time }}</small>
{% endif %} {% endif %}
@ -34,6 +39,7 @@
{% else %} {% else %}
<a href="{{ talk.url }}">{{ talk.title }}</a> <a href="{{ talk.url }}">{{ talk.title }}</a>
{% endif %} {% endif %}
<small class="display-block"> <small class="display-block">
{{ row.date.talk.type ?: talk.type }} {{ row.date.talk.type ?: talk.type }}
</small> </small>
@ -48,6 +54,7 @@
{% else %} {% else %}
{{ row.event.name }} {{ row.event.name }}
{% endif %} {% endif %}
<small class="display-block"> <small class="display-block">
{{ row.event.location }} {{ row.event.location }}
</small> </small>
@ -62,6 +69,7 @@
{% endif %} {% endif %}
</td> </td>
{% endif %} {% endif %}
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>

View file

@ -6,6 +6,7 @@ use: [talks]
Here are a list of my previous conference and user group talks: Here are a list of my previous conference and user group talks:
{% set events = [] %} {% set events = [] %}
{% for date in site.events.dates|reverse %} {% for date in site.events.dates|reverse %}
{% if date.date >= 'today'|date('Y-m-d') %} {% if date.date >= 'today'|date('Y-m-d') %}
{% else %} {% else %}
@ -16,6 +17,7 @@ Here are a list of my previous conference and user group talks:
}]) %} }]) %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% include 'talks-table' with { events: events } %} {% include 'talks-table' with { events: events } %}
Upcoming talks can be found on the [talks page][0]. Upcoming talks can be found on the [talks page][0].