From 676216c38bbd5ac45cd25363e5be6e32fa89ed66 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 10 Nov 2017 08:44:44 +0000 Subject: [PATCH] Remove variable, move into include --- source/_includes/talks-table.html.twig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/_includes/talks-table.html.twig b/source/_includes/talks-table.html.twig index e0649824..a9b347f4 100644 --- a/source/_includes/talks-table.html.twig +++ b/source/_includes/talks-table.html.twig @@ -16,9 +16,10 @@ - {% set today = 'today'|date('Y-m-d') %} {% for row in talks %} - {% include "talks-table-row" %} + {% include "talks-table-row" with { + today: 'today'|date('Y-m-d') + } %} {% endfor %}