Use markdown for talks archive
This commit is contained in:
parent
a63358b8e5
commit
8f6a998c0b
23
source/talks/archive.md
Normal file
23
source/talks/archive.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
layout: page
|
||||
title: Talk Archive
|
||||
use: [talks]
|
||||
---
|
||||
Here are a list of my previous conference and user group talks:
|
||||
|
||||
{% set events = [] %}
|
||||
{% for date in site.events.dates|reverse %}
|
||||
{% if date.date >= 'today'|date('Y-m-d') %}
|
||||
{% else %}
|
||||
{% set events = events|merge([{
|
||||
date: date,
|
||||
event: site.events.events[date.event],
|
||||
talks: data.talks,
|
||||
}]) %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% include 'talks-table' with { events: events } %}
|
||||
|
||||
Upcoming talks can be found on the [talks page][0].
|
||||
|
||||
[0]: {{site.url}}/talks
|
|
@ -1,16 +0,0 @@
|
|||
---
|
||||
title: Talk Archive
|
||||
layout: page
|
||||
use: [talks]
|
||||
---
|
||||
{% set events = [] %}
|
||||
|
||||
{% for date in site.events.dates|reverse if date.date < "today"|date("Y-m-d") %}
|
||||
{% set events = events|merge([{
|
||||
date: date,
|
||||
event: site.events.events[date.event],
|
||||
talks: data.talks,
|
||||
}]) %}
|
||||
{% endfor %}
|
||||
|
||||
{% include 'talks-table' with { events: events } %}
|
Reference in a new issue