diff --git a/source/_layouts/app.html.twig b/source/_layouts/app.html.twig index a5dcee84..eb34a04b 100644 --- a/source/_layouts/app.html.twig +++ b/source/_layouts/app.html.twig @@ -3,7 +3,11 @@ {% if page.title is defined and page.url != '//' %}{{ page.title }} | {% endif %}{{ site.title }} - {{ site.subtitle }} {% include 'meta' %} - {% block metas %}{% endblock %} + {% block metas %} + + + + {% endblock %} {% block stylesheets %}{% endblock %} diff --git a/source/_layouts/post.html.twig b/source/_layouts/post.html.twig index 07e7c6d3..5620b4d2 100644 --- a/source/_layouts/post.html.twig +++ b/source/_layouts/post.html.twig @@ -3,12 +3,9 @@ {% block page_title_wrapper %}{% endblock %} {% block metas %} - - - - - - + {{ parent() }} + + {% endblock %} {% block content_wrapper %} diff --git a/source/_layouts/talk.html.twig b/source/_layouts/talk.html.twig index 442886f2..f8264dc8 100644 --- a/source/_layouts/talk.html.twig +++ b/source/_layouts/talk.html.twig @@ -1,5 +1,13 @@ {% extends 'default' %} +{% block metas %} + {{ parent() }} + + + + +{% endblock %} + {% block content_wrapper %}
{% block content %}{% endblock %} diff --git a/source/_partials/og.html.twig b/source/_partials/og.html.twig index 2e6c034f..d605cc14 100644 --- a/source/_partials/og.html.twig +++ b/source/_partials/og.html.twig @@ -9,16 +9,16 @@ {% endif %} -{% if og.image and og.image.url %} - - {% if og.image.type %} - +{% if page.image.url %} + + {% if page.image.type %} + {% endif %} - {% if og.image.width %} - + {% if page.image.width %} + {% endif %} - {% if og.image.height %} - + {% if page.image.height %} + {% endif %} {% else %} @@ -27,18 +27,12 @@ {% endif %} -{% if og.title %} - {% if og.image %} - - - {% else %} - - - {% endif %} - - - - +{% if page.image %} + + +{% else %} + + {% endif %} {% if page.hide_page %} diff --git a/source/_talks/drupal-8-php-libraries-drupalorg-api.md b/source/_talks/drupal-8-php-libraries-drupalorg-api.md index fb17b539..645adfde 100644 --- a/source/_talks/drupal-8-php-libraries-drupalorg-api.md +++ b/source/_talks/drupal-8-php-libraries-drupalorg-api.md @@ -4,6 +4,11 @@ description: A crash course in developing PHP packages and Drupal 8 modules, bas speakerdeck: id: 6e42ae9620bb4e91b3955f8c30d66934 ratio: '1.77777777777778' +image: + url: /images/talks/having-fun-drupalorg-api.png + width: 2000 + height: 1125 + type: image/png tags: - drupal - drupal-8 diff --git a/source/_talks/tdd-test-driven-drupal.md b/source/_talks/tdd-test-driven-drupal.md index 52517cff..82ca51f5 100644 --- a/source/_talks/tdd-test-driven-drupal.md +++ b/source/_talks/tdd-test-driven-drupal.md @@ -9,16 +9,11 @@ youtube: id: 3AUhpkxZ7DQ tags: [drupalcamp, simpletest, phpunit, testing] has_tweets: true -meta: - og: - title: TDD - Test Driven Drupal - description: "How to write tests and follow TDD for Drupal applications." - type: website - image: - url: /images/talks/test-driven-drupal-development.png - width: 2560 - height: 1440 - type: image/png +image: + url: /images/talks/test-driven-drupal-development.png + width: 2560 + height: 1440 + type: image/png use: [talks] events: - event: drupalcamp_london_17 diff --git a/source/images/talks/having-fun-drupalorg-api.png b/source/images/talks/having-fun-drupalorg-api.png new file mode 100644 index 00000000..535f8fcb Binary files /dev/null and b/source/images/talks/having-fun-drupalorg-api.png differ