diff --git a/app/config/sculpin_kernel.yml b/app/config/sculpin_kernel.yml index 8ce8aac1..69911e70 100644 --- a/app/config/sculpin_kernel.yml +++ b/app/config/sculpin_kernel.yml @@ -6,5 +6,5 @@ sculpin_content_types: permalink: projects/:slug_title/ taxonomies: [skills, tags] talks: - permalink: talks/:slug_title/ + permalink: talks/:basename/ taxonomies: [tags] diff --git a/app/data/events.yml b/app/data/events.yml index ec3b6220..f4025794 100644 --- a/app/data/events.yml +++ b/app/data/events.yml @@ -83,115 +83,113 @@ events: dates: - event: unifieddiff date: '2012-09-05' - talk: what-is-this-drupal-thing + talk_id: 1 - event: swdug date: '2013-07-10' - talk: - title: Drupal and the LDAP Module - type: Talk + talk_title: Drupal and the LDAP Module - event: drupalcamp-london-14 date: '2014-03-01' talk: git-flow + talk_id: 2 - event: drupal-bristol date: '2014-08-19' talk: drush-make-drupalbristol + talk_id: 3 - event: swdug date: '2014-08-19' - talk: - title: About the Drupal Association - type: Talk + talk_title: About the Drupal Association + # type: Talk - event: drupalcamp-brighton-15 date: '2015-01-18' - talk: drupalorg-2015 + talk_id: 4 - event: drupalcamp-london-15 date: '2015-02-28' - talk: drupalorg-2015 + talk_id: 4 - event: phpsw date: '2015-04-08' - talk: drupal-8 + talk_id: 5 - event: drupalcamp-north-15 date: '2015-07-25' - talk: test-drive-twig-with-sculpin + talk_id: 6 - event: umbristol date: '2015-08-25' - talk: dancing-for-drupal + talk_id: 7 - event: phpsw date: '2015-10-14' - talk: sculpin + talk_id: 8 feedback: https://joind.in/talk/view/15486 - event: drupalcamp-london-16 date: '2016-03-05' - talk: drupal-8-module-development + talk_id: 9 - event: nwdug date: '2016-03-08' - talk: drupal-vm-generator + talk_id: 10 - event: drupal-bristol date: '2016-04-02' - talk: drupal-vm-generator + talk_id: 10 - event: phpsc16 date: '2016-06-11' - talk: drupal-8-rejoining-the-herd + talk_id: 11 feedback: https://joind.in/talk/41d0f - event: drupalcamp-bristol-16 date: '2016-07-23' - talk: drupal-vm-meet-symfony-console + talk_id: 12 - event: phpsw date: '2016-11-09' - talk: drupal-development-with-composer + talk_id: 13 - event: drupal-bristol date: '2016-11-17' - talk: goodbye-drush-make-hello-composer + talk_id: 14 - event: drupal-bristol date: '2017-01-18' - talk: getting-your-data-into-drupal-8 + talk_id: 15 - event: phpsw date: '2017-02-08' - talk: it-all-started-with-a-patch + talk_id: 16 feedback: https://joind.in/event/phpsw-new-skills-february-17/it-started-with-a-patch - event: drupalcamp-london-17 date: '2017-03-04' time: '16:15 - 17:00' - talk: test-driven-drupal-simpletest-phpunit + talk_id: 17 - event: drupalcamp-london-17 date: '2017-03-04' time: '12:05 - 12:50' - talk: getting-your-data-into-drupal-8 + talk_id: 15 - event: nomad-php date: '2017-04-20' time: '19:00 (CET)' - talk: - id: deploying-php-with-fabric - type: Lightning talk + type: Lightning talk + talk_id: 18 - event: phpsw date: '2017-09-13' time: ~ - talk: deploying-php-with-fabric feedback: https://joind.in/talk/a5ff3 + talk_id: 18 - event: phpnw17 date: '2017-10-01' time: '09:00 - 09:45' - talk: deploying-php-with-fabric + talk_id: 18 diff --git a/source/_includes/talk/events.html.twig b/source/_includes/talk/events.html.twig index a43848a6..a56554ac 100644 --- a/source/_includes/talk/events.html.twig +++ b/source/_includes/talk/events.html.twig @@ -2,19 +2,15 @@
Date | {% if not talk_page %} @@ -17,47 +17,49 @@||
---|---|---|
{{ row.date.date|date(row.date.fuzzy_date ? 'F Y' : 'j F Y') }} - {% if row.date.time %} - {{ row.date.time }} + {% if row.date.time is defined %} + + {{ row.date.time }} + {% endif %} | {% if not talk_page %}- {% if row.date.talk.title is defined %} - {{ row.date.talk.title }} + {% if row.date.talk_title is not defined %} + {% for talk in data.talks if talk.talk_id == row.date.talk_id %} + + {{ talk.title }} + + {% endfor %} {% else %} - {{ talk.title }} + {{ row.date.talk_title }} {% endif %} - - {{ row.date.talk.type ?: talk.type }} + + {{ row.date.type|default('Talk') }} | {% endif %}- {% if row.event.website %} - + {% if row.event.website is defined %} + {{ row.event.name }} {% else %} {{ row.event.name }} {% endif %} - - {{ row.event.location }} - + {% if row.event.location is defined %} + + {{ row.event.location }} + + {% endif %} | {% if not upcoming %} diff --git a/source/_talks/sculpin.md b/source/_talks/building-static-websites-sculpin.md similarity index 94% rename from source/_talks/sculpin.md rename to source/_talks/building-static-websites-sculpin.md index 7f380c48..71ebe616 100644 --- a/source/_talks/sculpin.md +++ b/source/_talks/building-static-websites-sculpin.md @@ -1,5 +1,5 @@ --- -id: sculpin +talk_id: 8 title: Building Static Websites with Sculpin type: Lightning talk slides: @@ -13,6 +13,7 @@ video: url: https://www.youtube.com/watch?v=aN53arCKZAU redirect: - talks/2015/10/14/sculpin-phpsw/ + - talks/building-static-websites-with-sculpin/ --- [Sculpin][0] is a static site generator written in PHP. It converts Markdown files, Twig templates and standard HTML into a static HTML site that can be easily deployed. diff --git a/source/_talks/dancing-for-drupal.md b/source/_talks/dancing-for-drupal.md index 02a76603..ef107cae 100644 --- a/source/_talks/dancing-for-drupal.md +++ b/source/_talks/dancing-for-drupal.md @@ -1,7 +1,6 @@ --- -id: dancing-for-drupal +talk_id: 7 title: Dancing for Drupal -type: Talk slides: url: https://speakerdeck.com/opdavies/umbristol-dancing-for-drupal embed: diff --git a/source/_talks/deploying-php-with-fabric.md b/source/_talks/deploying-php-fabric.md similarity index 96% rename from source/_talks/deploying-php-with-fabric.md rename to source/_talks/deploying-php-fabric.md index 7a924282..85f72fbb 100644 --- a/source/_talks/deploying-php-with-fabric.md +++ b/source/_talks/deploying-php-fabric.md @@ -1,7 +1,6 @@ --- -id: deploying-php-with-fabric +talk_id: 18 title: Deploying PHP Applications with Fabric -type: Talk slides: url: https://speakerdeck.com/opdavies/deploying-php-applications-with-fabric embed: '' @@ -19,7 +18,6 @@ meta: width: 1280 height: 800 type: image/png -slug: deploying-php-fabric redirect: - talks/deploying-php-applications-with-fabric/ --- diff --git a/source/_talks/drupal-8-module-development.md b/source/_talks/drupal-8-module-development.md index bcd38eb9..3733ced5 100644 --- a/source/_talks/drupal-8-module-development.md +++ b/source/_talks/drupal-8-module-development.md @@ -1,7 +1,6 @@ --- -id: drupal-8-module-development +talk_id: 9 title: Getting Started with Drupal 8 Module Development -type: Talk tags: [conference, php, drupal, drupalcamp, drupal-8] tweets: yes code: https://github.com/opdavies/dclondon16-d8-module @@ -21,6 +20,7 @@ meta: width: 960 redirect: - talks/2016/03/05/drupal-8-module-development-drupalcamp-london-2016/ + - talks/getting-started-with-drupal-8-module-development/ --- New to object-orientated PHP, Symfony or YAML, and want to get started building modules in Drupal 8? This is the session for you! diff --git a/source/_talks/drupal-8-rejoining-the-herd.md b/source/_talks/drupal-8-rejoining-the-herd.md index 9d4e8c3e..b9ad8cbd 100644 --- a/source/_talks/drupal-8-rejoining-the-herd.md +++ b/source/_talks/drupal-8-rejoining-the-herd.md @@ -1,7 +1,6 @@ --- -id: drupal-8-rejoining-the-herd +talk_id: 11 title: Drupal 8: Rejoining the Herd -type: Talk tags: [conference, php, drupal, drupal-8] slides: url: https://speakerdeck.com/opdavies/drupal-rejoining-the-herd diff --git a/source/_talks/drupal-8.md b/source/_talks/drupal-8.md index 3f18f715..122119bc 100644 --- a/source/_talks/drupal-8.md +++ b/source/_talks/drupal-8.md @@ -1,5 +1,5 @@ --- -id: drupal-8 +talk_id: 5 title: Drupal 8 type: Lightning talk slides: diff --git a/source/_talks/drupal-vm-generator.md b/source/_talks/drupal-vm-generator.md index 02e00fc5..f7f5688a 100644 --- a/source/_talks/drupal-vm-generator.md +++ b/source/_talks/drupal-vm-generator.md @@ -1,5 +1,5 @@ --- -id: drupal-vm-generator +talk_id: 10 title: Drupal VM Generator type: Lightning talk code: https://github.com/opdavies/drupal-vm-generator diff --git a/source/_talks/drupal-vm-meet-symfony-console.md b/source/_talks/drupal-vm-meet-symfony-console.md index 737543aa..b4b3dd3c 100644 --- a/source/_talks/drupal-vm-meet-symfony-console.md +++ b/source/_talks/drupal-vm-meet-symfony-console.md @@ -1,7 +1,6 @@ --- -id: drupal-vm-meet-symfony-console +talk_id: 12 title: Drupal VM, Meet Symfony Console -type: Talk tags: [conference, php, drupal-vm, symfony] slides: url: https://speakerdeck.com/opdavies/drupal-vm-meet-symfony-console diff --git a/source/_talks/drupalorg-2015.md b/source/_talks/drupalorg-2015.md index 72ea6fef..55acddd0 100644 --- a/source/_talks/drupalorg-2015.md +++ b/source/_talks/drupalorg-2015.md @@ -1,7 +1,6 @@ --- -id: drupalorg-2015 +talk_id: 4 title: Drupal.org in 2015: What's Coming Next -type: Talk tags: [conference, drupalcamp, drupalcamp-london, drupal-association] slides: url: https://speakerdeck.com/opdavies/drupal-dot-org-in-15 @@ -11,4 +10,5 @@ redirect: - talks/2015/02/28/drupalorg-2015-drupalcamp-london-2015/ - talks/drupalorg-2015-2/ - talks/drupalorg-2015/ + - talks/drupalorg-in-2015-whats-coming-next/ --- diff --git a/source/_talks/drush-make-drupalbristol.md b/source/_talks/drush-make-drupalbristol.md index 30abc360..7ab8100e 100644 --- a/source/_talks/drush-make-drupalbristol.md +++ b/source/_talks/drush-make-drupalbristol.md @@ -1,7 +1,6 @@ --- -id: drush-make-drupalbristol +talk_id: 3 title: drush make drupalbristol -type: Talk slides: url: https://speakerdeck.com/opdavies/drush-make-drupalbristol embed: diff --git a/source/_talks/getting-your-data-into-drupal-8.md b/source/_talks/getting-your-data-into-drupal-8.md index 5d7147d1..33ac00ed 100644 --- a/source/_talks/getting-your-data-into-drupal-8.md +++ b/source/_talks/getting-your-data-into-drupal-8.md @@ -1,7 +1,6 @@ --- -id: getting-your-data-into-drupal-8 +talk_id: 15 title: Getting (Your Data) Into Drupal 8 -type: Talk slides: url: https://speakerdeck.com/opdavies/getting-your-data-into-drupal-8-drupal-bristol embed: '' @@ -22,6 +21,7 @@ meta: redirect: - talks/2017/01/18/getting-your-data-into-drupal-8-drupal-bristol/ - talks/2017/03/04/getting-your-data-into-drupal-8-drupalcamp-london-2017/ +use: [talks] --- If you’ve moved a site from Drupal 6 to 7, the chances are that you’ve either used the upgrade path to update your old site in-place, or you built a new site from scratch and used the Migrate module from contrib to migrate your data from the old database. diff --git a/source/_talks/git-flow.md b/source/_talks/git-flow.md index c7c32159..1379176a 100644 --- a/source/_talks/git-flow.md +++ b/source/_talks/git-flow.md @@ -1,7 +1,6 @@ --- -id: git-flow +talk_id: 2 title: Never Commit to Master - An Introduction to Git Flow -type: Talk slides: url: https://speakerdeck.com/opdavies/never-commit-to-master-an-introduction-to-git-flow embed: diff --git a/source/_talks/goodbye-drush-make-hello-composer.md b/source/_talks/goodbye-drush-make-hello-composer.md index d5124be3..044b5f4a 100644 --- a/source/_talks/goodbye-drush-make-hello-composer.md +++ b/source/_talks/goodbye-drush-make-hello-composer.md @@ -1,7 +1,6 @@ --- -id: goodbye-drush-make-hello-composer +talk_id: 14 title: Goodbye Drush Make. Hello Composer! -type: Talk tags: ['meetup', 'drupal', 'composer'] slides: url: http://bit.ly/slides-goodbye-drush-make-hello-composer2 diff --git a/source/_talks/it-all-started-with-a-patch.md b/source/_talks/it-all-started-with-a-patch.md index 9de10ea8..211c3b6b 100644 --- a/source/_talks/it-all-started-with-a-patch.md +++ b/source/_talks/it-all-started-with-a-patch.md @@ -1,5 +1,5 @@ --- -id: it-all-started-with-a-patch +talk_id: 16 title: It All Started With A Patch type: Lightning talk tags: [meetup, phpsw, open-source] diff --git a/source/_talks/drupal-development-with-composer.md b/source/_talks/modern-drupal-development-with-composer.md similarity index 96% rename from source/_talks/drupal-development-with-composer.md rename to source/_talks/modern-drupal-development-with-composer.md index b0fb5ee0..7a074d8f 100644 --- a/source/_talks/drupal-development-with-composer.md +++ b/source/_talks/modern-drupal-development-with-composer.md @@ -1,5 +1,5 @@ --- -id: drupal-development-with-composer +talk_id: 13 title: Modern Drupal Development with Composer type: Lightning talk tags: ['meetups', 'phpsw', 'drupal', 'composer'] diff --git a/source/_talks/what-is-this-drupal-thing.md b/source/_talks/so-what-is-this-drupal-thing.md similarity index 90% rename from source/_talks/what-is-this-drupal-thing.md rename to source/_talks/so-what-is-this-drupal-thing.md index a0c7aacb..0e675854 100644 --- a/source/_talks/what-is-this-drupal-thing.md +++ b/source/_talks/so-what-is-this-drupal-thing.md @@ -1,7 +1,6 @@ --- -id: what-is-this-drupal-thing +talk_id: 1 title: So, what is this Drupal thing? -type: Talk video: url: https://vimeo.com/49827006 embed: diff --git a/source/_talks/test-driven-drupal-simpletest-phpunit.md b/source/_talks/tdd-test-driven-drupal.md similarity index 91% rename from source/_talks/test-driven-drupal-simpletest-phpunit.md rename to source/_talks/tdd-test-driven-drupal.md index 8daabc00..67744abc 100644 --- a/source/_talks/test-driven-drupal-simpletest-phpunit.md +++ b/source/_talks/tdd-test-driven-drupal.md @@ -1,6 +1,6 @@ --- -title: Test Driven Drupal Development with SimpleTest and PHPUnit -type: Talk +talk_id: 17 +title: TDD - Test Driven Drupal slides: url: https://speakerdeck.com/opdavies/test-driven-drupal-development-with-simpletest-and-phpunit-drupalcamp-london-17 embed: '' @@ -10,7 +10,7 @@ video: tags: [drupalcamp, simpletest, phpunit, testing] meta: og: - title: Test Driven Drupal Development with SimpleTest and PHPUnit + title: TDD - Test Driven Drupal description: "How to write tests and follow TDD for Drupal applications." type: website image: @@ -18,6 +18,9 @@ meta: width: 2560 height: 1440 type: image/png +redirect: + - /talks/test-driven-drupal-development-with-simpletest-and-phpunit/ +use: [talks] --- Testing is important. Why? It allows developers to add new features and edit and refactor existing code without the worry of adding regressions, reduces the reliance on manual testing to discover bugs, and by taking a test driven approach, your implementation code is leaner as you only write what is needed for your tests to pass. diff --git a/source/_talks/test-drive-twig-with-sculpin.md b/source/_talks/test-drive-twig-with-sculpin.md index b80400d1..3b6355d6 100644 --- a/source/_talks/test-drive-twig-with-sculpin.md +++ b/source/_talks/test-drive-twig-with-sculpin.md @@ -1,7 +1,6 @@ --- -id: test-drive-twig-with-sculpin +talk_id: 6 title: Test Drive Twig with Sculpin -type: Talk slides: url: https://speakerdeck.com/opdavies/test-drive-twig-with-sculpin embed: diff --git a/source/talks.md b/source/talks.md index 6cc77b90..bbe1d8b9 100644 --- a/source/talks.md +++ b/source/talks.md @@ -21,14 +21,12 @@ There is also information about events that I’ve attended and spoken at on my {% if date.date >= 'today'|date('Y-m-d') %} {% set upcoming_events = upcoming_events|reverse|merge([{ date: date, - event: site.events.events[date.event], - talks: data.talks, + event: site.events.events[date.event] }]) %} {% else %} {% set past_events = past_events|merge([{ date: date, - event: site.events.events[date.event], - talks: data.talks, + event: site.events.events[date.event] }]) %} {% endif %} {% endfor %} diff --git a/source/talks/archive.md b/source/talks/archive.md index 77e03fd9..2e7be820 100644 --- a/source/talks/archive.md +++ b/source/talks/archive.md @@ -13,12 +13,11 @@ Here are a list of my previous conference and user group talks: {% set events = events|merge([{ date: date, event: site.events.events[date.event], - talks: data.talks, }]) %} {% endif %} {% endfor %} -{% include 'talks-table' with { events: events } %} +{% include 'talks-table' %} Upcoming talks can be found on the [talks page][0].