From b27fbadc423f63bfddf2f717cb6e1e9c333bf7b1 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 3 May 2019 14:52:51 +0100 Subject: [PATCH] Update speakers layout --- source/_layouts/speaker.html.twig | 51 ++++++++++++++++++--- source/_speakers/tom-metcalfe.md | 4 +- source/themes/dcb2017/images/drop-1.png | Bin 0 -> 922 bytes source/themes/dcb2017/images/twitter-1.png | Bin 0 -> 858 bytes 4 files changed, 47 insertions(+), 8 deletions(-) create mode 100644 source/themes/dcb2017/images/drop-1.png create mode 100644 source/themes/dcb2017/images/twitter-1.png diff --git a/source/_layouts/speaker.html.twig b/source/_layouts/speaker.html.twig index ddd8353..761849b 100644 --- a/source/_layouts/speaker.html.twig +++ b/source/_layouts/speaker.html.twig @@ -2,12 +2,49 @@ {% block title %}{{ page.name }}{% endblock %} -{% block content_bottom %} -

Session

+{% block content_wrapper_inner %} +
+ {% if page.image %} +
+ {{ page.name }} +
+ {% endif %} - {% for session in data.sessions if page.name in session.speakers %} - - {{ session.title }} - - {% endfor %} +
+ {% if page.links %} +
+ {% if page.links.drupalorg %} + + {% endif %} + + {% if page.links.twitter %} + + {% endif %} +
+ {% endif %} + +
+ {% if page.organisation %} + Organisation: {{ page.organisation }} + {% endif %} + + {% block content %}{% endblock %} +
+
+
+{% endblock %} + +{% block content_bottom %} +

Session

+ + {% for session in data.sessions if page.name in session.speakers %} + + {{ session.title }} + + {% endfor %} + {% endblock %} diff --git a/source/_speakers/tom-metcalfe.md b/source/_speakers/tom-metcalfe.md index 8ba41b1..d651cbd 100644 --- a/source/_speakers/tom-metcalfe.md +++ b/source/_speakers/tom-metcalfe.md @@ -1,6 +1,8 @@ --- name: Tom Metcalfe -twitter: tommymets9 +organisation: Reason Digital +links: + twitter: tommymets9 use: - sessions --- diff --git a/source/themes/dcb2017/images/drop-1.png b/source/themes/dcb2017/images/drop-1.png new file mode 100644 index 0000000000000000000000000000000000000000..6f628d10114d0efdee6244260a6442a5e00100f7 GIT binary patch literal 922 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJOS+@4BLl<6e(pbstU$g(vPY0F z14ES>14Ba#1H&(%P{RubhEf9thF1v;3|2E37{m+a>?u>H z&j4!CF}K}z^c+LKP`6#HXs$xu{G#b=6?`&c@~UzQin()^U%mGvuc%bX z+=U^mODKI-VtI?QxeHHJhgrn}1}Uxlq7pfW5V@#2xr`~g#d9r-rfB%3scY*xPCvs? zyzBR$ze~BsN>Ll60?_HDcV#&zadrjlJEb^BRLcQeFIXUN;c5ZT92xSb(( z8f)3^`W<&pJovEg@=LP`Cm0I0n%6FC+i%;OV>143YiXr3+1}m$F3n%jV1$ zO`9%~Ha%&^&hq7lQ)lhUTd-f=NDJbH5_Daa<$1e}3CoepBGPc~hvm=Mk{N!C#pec+=-tI08 z9jvk*Kn{C}r>`sfLslscZDFa zRdP`(kYX@0Ff`XSFx53O3o)>;GBLI?wA3~*ure_C7va4fMMG|WN@iLmZVmmcpSgh= O7(8A5T-G@yGywpQl4?Kz literal 0 HcmV?d00001 diff --git a/source/themes/dcb2017/images/twitter-1.png b/source/themes/dcb2017/images/twitter-1.png new file mode 100644 index 0000000000000000000000000000000000000000..9d65a77e23811e8a555dc62ca46a3f059c180f6b GIT binary patch literal 858 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJOS+@4BLl<6e(pbstU$g(vPY0F z14ES>14Ba#1H&(%P{RubhEf9thF1v;3|2E37{m+a>zo$BEFD~V2>bVM+{WKH$`%iG@ zIkx`q>BsML${hb=%eUfBl3w-4yG}NGcuXjE$G8q_?yxm5l^(wM4+7>+sWu_cMRSOR^eTH+c}l9E`GYL#4+3Zxi}3=GY6 z4NP^7%t8z-tW1opj106546F