{% include 'header.html' %} {% for h in home %} {% if h.language == g.lang %} {{ h.content | safe }} {% endif %} {% endfor %} {% include 'footer.html' %}