Remove variable, move into include
This commit is contained in:
parent
424981ed5c
commit
676216c38b
|
@ -16,9 +16,10 @@
|
|||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% 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 %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
Reference in a new issue