{% extends "basic.html" %} {% import "_macros.html" as macros with context %} {% import "_utils.html" as utils with context %} {% block meta %} {{ super() }} {% endblock %} {% macro pageli(page, lang, upper=False) -%} {% set txt = page.get_text(lang) -%} {% if upper -%} {% set direction = "left" -%} {% else -%} {% set direction = "right" -%} {%- endif -%} {%- if txt -%}