{% import 'translations.html' as translations with context %} {% extends "base.html" %} {% block title %}{{ page.title }}{% endblock %} {% block content %} {{ page.title }} {{ translations.translate(page, 'pages') }} {% if PDF_PROCESSOR %}get the pdf{% endif %} {{ page.content }} {% endblock %}