From 355d05b6f1870c5b3c1d5a3590f45aeb89f33666 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 9 Sep 2015 09:17:24 +0100 Subject: [PATCH] Added embedded slides --- source/themes/opdavies/oliverdavies/_layouts/talk.html.twig | 4 ++++ templates/talk.md | 1 + 2 files changed, 5 insertions(+) diff --git a/source/themes/opdavies/oliverdavies/_layouts/talk.html.twig b/source/themes/opdavies/oliverdavies/_layouts/talk.html.twig index ecabd8a1..6f6988ee 100644 --- a/source/themes/opdavies/oliverdavies/_layouts/talk.html.twig +++ b/source/themes/opdavies/oliverdavies/_layouts/talk.html.twig @@ -15,6 +15,10 @@ {% endif %}.

+ {% if page.slides_embed %} + {{ page.slides_embed|raw }} + {% endif %} + {{ page.blocks.content|raw }} {% endblock content_wrapper %} diff --git a/templates/talk.md b/templates/talk.md index 76a75dd4..de5016a8 100644 --- a/templates/talk.md +++ b/templates/talk.md @@ -2,6 +2,7 @@ title: location: slides_url: +slides_embed: slug: draft: true # fuzzy_date: true