{% 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 %}
{% if page.date %} {{ trans(key="published", lang=lang) }} {{ page.date | date(format="%Y-%m-%d %H:%M UTC") }} {{ trans(key="published_on", lang=lang) }} {% else %} {{ trans(key="not_published", lang=lang) }} {% endif %} {% 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 %}{{ trans(key="also_read", lang=lang) }} {% for trans in page.translations %} {% if trans.lang != lang %} {% if trans.lang == "ru" %} Русский. {% elif trans.lang == "es" %} Español. {% else %} English. {% endif %} {% endif %} {% endfor %}
{% endif %} {% endblock %} {% block content %}