{% extends "base.html" %} {% block title %} {% if page.permalink is containing("weblog") %} {{ page.title }} - Yaroslav's weblog {% elif page.permalink is containing("food") %} {{ page.title }} - Yaroslav's recipe book {% else %} {{ page.title }} - Yaroslav's website {% endif %} {% endblock %} {% block header %}
{{ trans(key="published", lang=lang) }} {{ page.date | date(format="%Y-%m-%d %H:%M UTC") }} {{ trans(key="published_on", lang=lang) }} {% if page.permalink is containing("weblog") %} {{ trans(key="weblog_title", lang=lang) }} {% elif page.permalink is containing("food") %} {{ trans(key="recipes_title", lang=lang) }}
{% endif %} {% if page.updated %}{{ trans(key="edited", lang=lang) }} {{ page.updated | date(format="%Y-%m-%d %H:%M UTC") }}
{% endif %} {% if page.translations | length > 1 %} {% for trans in page.translations %} {% if trans.lang != lang %} {% if trans.lang == "ru" %}Доступно на русском: {{ trans.title }}
{% elif trans.lang == "es" %}Disponible en español: {{ trans.title }}
{% else %}Available in English: {{ trans.title }}
{% endif %} {% endif %} {% endfor %} {% endif %} {% endblock %} {% block content %}