Re-add talk archive
This commit is contained in:
parent
8c339a003c
commit
c972b40712
|
@ -33,3 +33,4 @@ imports:
|
||||||
- '../../data/companies.yml'
|
- '../../data/companies.yml'
|
||||||
- '../../data/events.yml'
|
- '../../data/events.yml'
|
||||||
- '../../data/links.yml'
|
- '../../data/links.yml'
|
||||||
|
- '../../data/talks.yml'
|
||||||
|
|
22
data/talks.yml
Normal file
22
data/talks.yml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
talks:
|
||||||
|
- title: 'Drupal and the LDAP module'
|
||||||
|
events:
|
||||||
|
- event: swdug
|
||||||
|
date: '2013-07-10'
|
||||||
|
|
||||||
|
- title: 'About the Drupal Association'
|
||||||
|
events:
|
||||||
|
- event: swdug
|
||||||
|
date: '2014-08-19'
|
||||||
|
|
||||||
|
- title: 'Automated testing with Drupal 8 and PHPUnit'
|
||||||
|
type: Workshop
|
||||||
|
events:
|
||||||
|
- event: drupal_bristol
|
||||||
|
date: '2018-06-27'
|
||||||
|
|
||||||
|
- title: 'Episode #175 - Automated Testing'
|
||||||
|
type: Podcast
|
||||||
|
events:
|
||||||
|
- event: talking_drupal
|
||||||
|
date: '2018-09-05'
|
14
source/talks/archive.html.twig
Normal file
14
source/talks/archive.html.twig
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
---
|
||||||
|
layout: default
|
||||||
|
title: Talks Archive
|
||||||
|
use: [talks]
|
||||||
|
---
|
||||||
|
{% block content %}
|
||||||
|
<p>Here are most of my previous conference and meetup talks, workshops and podcasts.</p>
|
||||||
|
|
||||||
|
{% include "talks-table" with {
|
||||||
|
talks: getPastTalks(data.talks|merge(site.talks), site.events)
|
||||||
|
} %}
|
||||||
|
|
||||||
|
<p>Upcoming talks can be found on the <a href="/talks" class="link">talks page</a>.</p>
|
||||||
|
{% endblock %}
|
|
@ -4,21 +4,6 @@ title: Talks
|
||||||
meta:
|
meta:
|
||||||
description: 'Information about previous and upcoming talks that Oliver has presented at conferences and user groups'
|
description: 'Information about previous and upcoming talks that Oliver has presented at conferences and user groups'
|
||||||
use: [talks]
|
use: [talks]
|
||||||
talks:
|
|
||||||
- title: 'Drupal and the LDAP module'
|
|
||||||
events:
|
|
||||||
- { event: swdug, date: '2013-07-10' }
|
|
||||||
- title: 'About the Drupal Association'
|
|
||||||
events:
|
|
||||||
- { event: swdug, date: '2014-08-19' }
|
|
||||||
- title: 'Automated testing with Drupal 8 and PHPUnit'
|
|
||||||
type: Workshop
|
|
||||||
events:
|
|
||||||
- { event: drupal_bristol, date: '2018-06-27' }
|
|
||||||
- title: 'Episode #175 - Automated Testing'
|
|
||||||
type: Podcast
|
|
||||||
events:
|
|
||||||
- { event: talking_drupal, date: '2018-09-05' }
|
|
||||||
---
|
---
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<p>
|
<p>
|
||||||
|
@ -29,7 +14,7 @@ talks:
|
||||||
<div class="mb-6">
|
<div class="mb-6">
|
||||||
<h2>Upcoming Talks</h2>
|
<h2>Upcoming Talks</h2>
|
||||||
|
|
||||||
{% set upcoming_talks = getUpcomingTalks(data.talks|merge(page.talks), site.events) %}
|
{% set upcoming_talks = getUpcomingTalks(data.talks|merge(site.talks), site.events) %}
|
||||||
{% if not upcoming_talks.empty %}
|
{% if not upcoming_talks.empty %}
|
||||||
{% include "talks-table" with {
|
{% include "talks-table" with {
|
||||||
talks: upcoming_talks,
|
talks: upcoming_talks,
|
||||||
|
@ -41,10 +26,12 @@ talks:
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<h2>Past Talks</h2>
|
<h2>Last 5 Talks</h2>
|
||||||
|
|
||||||
{% include "talks-table" with {
|
{% include "talks-table" with {
|
||||||
talks: getPastTalks(data.talks|merge(page.talks), site.events)
|
talks: getPastTalks(data.talks|merge(site.talks), site.events)|slice(0,5)
|
||||||
} %}
|
} %}
|
||||||
|
|
||||||
|
<p>To see more of my previous talks, go to the <a href="/talks/archive" class="link">talks archive</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
Reference in a new issue