{% extends "base.html" %} {% block extrahead %} {% if page.permalink is containing("weblog") %} {% elif page.permalink is containing("food") %} {% else %} {% endif %} {% if page.summary %} {% endif %} {% if page.permalink is containing("food") %} {% endif %} {% endblock %} {% block title %} {% if page.permalink is containing("weblog") %} {{ page.title }} - {{ trans(key="weblog_title", lang=lang) }} {% elif page.permalink is containing("food") %} {{ page.title }} - {{ trans(key="recipes_title", lang=lang) }} {% else %} {{ page.title }} - {{ trans(key="website_title", lang=lang) }} {% endif %} {% endblock %} {% block header %}
{% if page.date %} {{ trans(key="published", lang=lang) }} {{ page.date | date(format="%Y-%m-%d") }} {{ 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") }} {% 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 %}