Rename files
This commit is contained in:
parent
4a04500bcc
commit
fe13db722b
18 changed files with 0 additions and 0 deletions
129
source/talks.html.twig
Normal file
129
source/talks.html.twig
Normal file
|
@ -0,0 +1,129 @@
|
|||
---
|
||||
layout: default
|
||||
title: Talks
|
||||
meta:
|
||||
description: 'Information about previous and upcoming talks that Oliver has presented at conferences and user groups'
|
||||
talks:
|
||||
- title: So, what is this Drupal thing?
|
||||
title_link: http://vimeo.com/49827006
|
||||
date: 2012-09-05
|
||||
location: unified.diff
|
||||
|
||||
- title: An overview of the Drupal LDAP module
|
||||
date: 2013-07-10
|
||||
location: SWDUG
|
||||
|
||||
- title: Never Commit to Master: An Introduction to Git Flow
|
||||
title_link: https://speakerdeck.com/opdavies/never-commit-to-master-an-introduction-to-git-flow
|
||||
date: 2014-03-01
|
||||
location: DrupalCamp London
|
||||
|
||||
- title: drush make drupalbristol
|
||||
title_link: https://speakerdeck.com/opdavies/drush-make-drupalbristol
|
||||
date: 2014-07-02
|
||||
location: Bristol DUG
|
||||
|
||||
- title: About the Drupal Association
|
||||
date: 2014-08-19
|
||||
location: SWDUG
|
||||
|
||||
- title: Drupal.org in 2015: What’s Coming Next
|
||||
date: 2015-01-18
|
||||
location: DrupalCamp Brighton
|
||||
|
||||
- title: Drupal.org in 2015: What’s Coming Next
|
||||
date: 2015-02-28
|
||||
location: DrupalCamp London
|
||||
|
||||
- title: Drupal 8 (Lightning Talk)
|
||||
title_link: https://speakerdeck.com/opdavies/drupal-8
|
||||
date: 2015-04-08
|
||||
location: PHPSW
|
||||
|
||||
- title: Test Drive Twig with Sculpin
|
||||
title_link: https://speakerdeck.com/opdavies/test-drive-twig-with-sculpin
|
||||
date: 2015-07-25
|
||||
location: DrupalCamp North
|
||||
|
||||
- title: Building Static Websites with Sculpin
|
||||
date: 2015-08-21
|
||||
location: unified.diff
|
||||
---
|
||||
{% block body_classes 'page--talks page--talks__list' %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Talks</h1>
|
||||
|
||||
<p>I regularly speak at conferences and user groups about a range of subjects including Drupal, Sculpin and Git. If you would like to me to speak at your group or conference, please <a href="/contact/">get in touch</a>.</p>
|
||||
|
||||
<p>There is also information about events that I’ve attended and spoken at on my <a href="{{ site.lanyrd.url }}">Lanyrd</a> and <a href="{{ site.joindin.url }}">Joind.in</a> profiles.</p>
|
||||
|
||||
{% set now = 'now'|date('U') %}
|
||||
{% set talks = page.talks|reverse %}
|
||||
|
||||
{% set found = false %}
|
||||
{% set year = '0' %}
|
||||
{% set new_year = false %}
|
||||
|
||||
{% for talk in talks|reverse if talk.date >= now %}
|
||||
{% if loop.first %}
|
||||
<h2>Upcoming Talks</h2>
|
||||
{% endif %}
|
||||
|
||||
{% set this_year %}{{ talk.date|date('Y') }}{% endset %}
|
||||
|
||||
{% if this_year != year %}
|
||||
{% if new_year %}
|
||||
{# Close the list for the previous year. #}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
{% set found = true %}
|
||||
|
||||
{% set year = this_year %}
|
||||
<h3>{{ this_year }}</h3>
|
||||
<ul>
|
||||
{% else %}
|
||||
{% set new_year = true %}
|
||||
{% endif %}
|
||||
|
||||
{% include 'talk-listing-item' %}
|
||||
{% endfor %}
|
||||
|
||||
{% if found %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
{% set found = false %}
|
||||
{% set year = '0' %}
|
||||
{% set new_year = false %}
|
||||
|
||||
{% for talk in talks if talk.date < now %}
|
||||
{% if loop.first %}
|
||||
<h2>Previous Talks</h2>
|
||||
{% endif %}
|
||||
|
||||
{% set this_year %}{{ talk.date|date('Y') }}{% endset %}
|
||||
|
||||
{% if this_year != year %}
|
||||
{% if new_year %}
|
||||
{# Close the list for the previous year. #}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
{% set year = this_year %}
|
||||
{% set found = true %}
|
||||
|
||||
<h3>{{ this_year }}</h3>
|
||||
<ul>
|
||||
{% else %}
|
||||
{% set new_year = true %}
|
||||
{% endif %}
|
||||
|
||||
{% include 'talk-listing-item' %}
|
||||
{% endfor %}
|
||||
|
||||
{% if found %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue