From 6ef729d1d4fb2236bbb231f4843e13d853741630 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 19 Jan 2019 00:07:58 +0000 Subject: [PATCH] Link talks to talk pages --- source/talks.html.twig | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/source/talks.html.twig b/source/talks.html.twig index 031a7c12..4dae6617 100644 --- a/source/talks.html.twig +++ b/source/talks.html.twig @@ -35,7 +35,13 @@ talks:
{% for talk in getUpcomingTalks(page.talks|merge(data.talks)) %}
-

{{ talk.title }}

+

+ {% if talk.url %} + {{ talk.title }} + {% else %} + {{ talk.title }} + {% endif %} +

{% else %}

sdf

@@ -49,7 +55,13 @@ talks:
{% for talk in getPastTalks(page.talks|merge(data.talks))|reverse %}
-

{{ talk.title }}

+

+ {% if talk.url %} + {{ talk.title }} + {% else %} + {{ talk.title }} + {% endif %} +

{% endfor %}