From cca08823f8110713bd286b54feca4966db49772e Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 14 May 2019 21:51:05 +0100 Subject: [PATCH] Add speakers block --- source/_includes/front-speakers.html.twig | 25 +++++++++++++++++++++++ source/index.html.twig | 14 ++++++++++++- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 source/_includes/front-speakers.html.twig diff --git a/source/_includes/front-speakers.html.twig b/source/_includes/front-speakers.html.twig new file mode 100644 index 0000000..5ff90a0 --- /dev/null +++ b/source/_includes/front-speakers.html.twig @@ -0,0 +1,25 @@ +

Featuring Talks From

+ +
+ +
diff --git a/source/index.html.twig b/source/index.html.twig index 5baeb61..a8cf988 100644 --- a/source/index.html.twig +++ b/source/index.html.twig @@ -3,9 +3,12 @@ layout: default twitter: url: https://twitter.com/drupalcampbris update_text: Early bird tickets are now available! +use: + - speakers --- +{% block content %}
-
+
Drupalcamp Bristol logo @@ -35,3 +38,12 @@ update_text: Early bird tickets are now available!
+{% endblock %} + +{% block content_bottom %} +
+ {% include 'front-speakers' with { + speakers: data.speakers, + } %} +
+{% endblock %}