{% extends 'boxes/box.html.twig' %} {% block box %} {% if not news is empty %} {{ "now"|date("d-m-Y") }} {{ news.title }} {% endif %} {% endblock %}