Remove variable, move into include

This commit is contained in:
Oliver Davies 2017-11-10 08:44:44 +00:00
parent 424981ed5c
commit 676216c38b

View file

@ -16,9 +16,10 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{% set today = 'today'|date('Y-m-d') %}
{% for row in talks %} {% for row in talks %}
{% include "talks-table-row" %} {% include "talks-table-row" with {
today: 'today'|date('Y-m-d')
} %}
{% endfor %} {% endfor %}
</tbody> </tbody>
</table> </table>