diff --git a/src/content/config.ts b/src/content/config.ts index b010e6be3..e3df23e85 100644 --- a/src/content/config.ts +++ b/src/content/config.ts @@ -29,9 +29,16 @@ const talkCollection = defineCollection({ name: z.string(), online: z.boolean().optional(), })), + speakerdeck: z.object({ + id: z.string(), + ratio: z.string(), + url: z.string(), + }).optional(), title: z.string(), - // TODO: add SpeakerDeck - // TODO: add Video + video: z.object({ + id: z.string(), + type: z.enum(['vimeo', 'youtube']), + }).or(z.null()).optional(), }), }); diff --git a/src/content/talk/building-presenting-slide-decks-rst2pdf.md b/src/content/talk/building-presenting-slide-decks-rst2pdf.md index d30e01426..16680447b 100644 --- a/src/content/talk/building-presenting-slide-decks-rst2pdf.md +++ b/src/content/talk/building-presenting-slide-decks-rst2pdf.md @@ -5,6 +5,7 @@ description: A short talk on using reStructuredText and rst2pdf to build present speakerdeck: id: 80498c7b5e7448f194091461cb14f1c1 ratio: "1.77777777777778" + url: https://speakerdeck.com/opdavies/building-and-presenting-slide-decks-with-rst2pdf video: id: KZ89tGG-p6M diff --git a/src/content/talk/configuring-all-the-things-drupal-8.md b/src/content/talk/configuring-all-the-things-drupal-8.md index b8a03909d..6ca54ea96 100644 --- a/src/content/talk/configuring-all-the-things-drupal-8.md +++ b/src/content/talk/configuring-all-the-things-drupal-8.md @@ -7,9 +7,7 @@ speakerdeck: ratio: "1.37081659973226" url: https://speakerdeck.com/opdavies/configuring-all-the-things-in-drupal-8 -video: - type: ~ - id: ~ +video: ~ events: - name: Drupal Bristol diff --git a/src/content/talk/drupal-8-php-libraries-drupalorg-api.md b/src/content/talk/drupal-8-php-libraries-drupalorg-api.md index 6856f3043..84c02fbbe 100644 --- a/src/content/talk/drupal-8-php-libraries-drupalorg-api.md +++ b/src/content/talk/drupal-8-php-libraries-drupalorg-api.md @@ -4,6 +4,7 @@ description: A crash course in developing PHP packages and Drupal 8 modules, bas speakerdeck: id: 6e42ae9620bb4e91b3955f8c30d66934 ratio: "1.77777777777778" + url: https://speakerdeck.com/opdavies/having-fun-with-drupal-8-php-libraries-and-the-drupal-dot-org-api image: url: /images/talks/having-fun-drupalorg-api.png width: 2000 diff --git a/src/content/talk/introduction-to-mob-programming.md b/src/content/talk/introduction-to-mob-programming.md index f4e1c543e..508e05a07 100644 --- a/src/content/talk/introduction-to-mob-programming.md +++ b/src/content/talk/introduction-to-mob-programming.md @@ -3,7 +3,8 @@ title: An introduction to mob programming description: '' speakerdeck: id: f37b16f915d64bc0b4a20f9f965e5353 - ratio: 1.77725118483412 + ratio: '1.77725118483412' + url: https://speakerdeck.com/opdavies/an-introduction-to-mob-programming events: - name: PHP South Wales location: Cardiff, Wales diff --git a/src/content/talk/out-of-the-box-initiative-update.md b/src/content/talk/out-of-the-box-initiative-update.md index 20348cf33..804120140 100644 --- a/src/content/talk/out-of-the-box-initiative-update.md +++ b/src/content/talk/out-of-the-box-initiative-update.md @@ -5,9 +5,7 @@ speakerdeck: id: 3f66c48653f44ed4867fc3cc05c1db06 ratio: "1.77777777777778" url: https://speakerdeck.com/opdavies/out-of-the-box-initiative-update -video: - type: youtube - id: ~ +video: ~ events: - name: Drupal Bristol location: Bristol, UK diff --git a/src/content/talk/so-what-is-this-drupal-thing.md b/src/content/talk/so-what-is-this-drupal-thing.md index 7d06dee30..29a7b0d59 100644 --- a/src/content/talk/so-what-is-this-drupal-thing.md +++ b/src/content/talk/so-what-is-this-drupal-thing.md @@ -3,7 +3,7 @@ title: So, what is this Drupal thing? description: My first talk, where I talk about Drupal, what it is and what it can do. video: type: vimeo - id: 49827006 + id: '49827006' events: - name: unified.diff location: Cardiff, UK diff --git a/src/content/talk/things-you-should-know-about-php.md b/src/content/talk/things-you-should-know-about-php.md index c224be1e5..4ac7ccea2 100644 --- a/src/content/talk/things-you-should-know-about-php.md +++ b/src/content/talk/things-you-should-know-about-php.md @@ -4,6 +4,7 @@ description: An introduction to PHP, presented to the Swansea Software Developme speakerdeck: id: fe360f1030f34bdb9eb14cdab907bb3c ratio: "1.78343949044586" + url: https://speakerdeck.com/opdavies/things-you-should-know-about-php-a58cd83b-e10c-40df-9ab4-3ed5d55827e7 video: id: NH1mVSwCzWs type: youtube