{% set docTitle = docTitle is defined ? docTitle : title|striptags %} {% block head %} {{ docTitle }} {% endblock %} {% block body %}{% endblock %}