From 4107aceab1d22cc4614afaa3d0779d4aee3469b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?=
Welcome, my name is Yaroslav de la Peña Smirnov. I keep this site to
- sometimes write about what I do or think on my weblog, or to remind myself
- of how to do certain things. You can take a look around, maybe you'll find
- something interesting or useful. If you want to contact me, you can do so by email at:
- yps@yaroslavps.com
- Public PGP key: BD900E5D624046DC If you are interested in following what I may publish here (however often it
- may be), you can add these RSS/Atom urls to your favorite RSS reader:
+ {% if lang == "ru" %}
+ Здравствуйте! Меня зовут Ярослав и это мой сайт. Здесь я пишу о том что
+ я думаю или делаю, или чтобы напомнить себе как что-то делать, будь это
+ настроить сервер или приготовить блюдо. Возможно вы найдёте что-нибудь
+ интересного. Большая часть того что я пишу, на
+ английском. Но, бывает иногда пишу или перевожу то, что
+ пишу, на русский и/или испанский языки.
+ {% elif lang == "es" %}
+ Buenas y bienvenidos sean. Mi nombre es Yaroslav y éste es mi sitio.
+ Aquí escribo lo que pienso o hago, o simplemente para acordarme luego de
+ como hacer ciertas cosas, sea configurar un servidor, o cocinar una
+ receta. Echa una mirada, a lo mejor encuentras algo interestante o útil.
+ Escribo en su mayoría en inglés, pero a veces también
+ escribo o traduzco lo que escribo al español y/o al
+ ruso.
+ {% else %}
+ Welcome, my name is Yaroslav. I keep this site to sometimes write about
+ what I do or think on my weblog, or to remind myself of how to do
+ certain things, be it set up a server or how to make some dishes. You
+ can take a look around, maybe you'll find something interesting or
+ useful. Most of the time I write in English, but sometimes I might also
+ write or translate what I write in Spanish or
+ Russian.
+ {% endif %}
+
+ {% if lang == "ru" %}
+ Связаться со мной можно по электронной почты:
+ {% elif lang == "es" %}
+ Si quieres contactarme, puedes enviarme un correo electrónico a la
+ siguiente dirección:
+ {% else %}
+ If you want to contact me, you can do so by email at:
+ {% endif %}
+ yps@yaroslavps.com
+
+ {% if lang == "ru" %}
+ Если вы пользуетесь такими сервисами как gmail, mail.ru или другими
+ крупными провайдерами из этого разряда, то мой ответ может попасть в
+ спам. Если вы хотите быть полностью уверенными что вы получите мой
+ ответ, добавьте мой адрес в свой белый список.
+ {% elif lang == "es" %}
+ Una pequeña nota para aquellos que usan servicios como gmail,
+ outlook u otros proveedores similares. Mi respuesta de email puede
+ llegar a su bandeja de espam. Si quieres estar completamente seguro
+ de recibir mi respuesta, agrega mi dirección a tu lista blanca.
+ {% else %}
+ A little note for those using services like gmail, outlook, or any
+ other big provider like that. My email response might end up in your
+ spam folder, so you might want to check that. If you want to make
+ 100% sure to receive my reponse, the best option is to add my
+ address to your whitelist.
+ {% endif %}
+
+ {% if lang == "ru" %}
+ Публичный PGP-ключ:
+ {% elif lang == "es" %}
+ Llave pública de PGP:
+ {% else %}
+ Public PGP key:
+ {% endif %}
+ BD900E5D624046DC
+
+ {% if lang == "ru" %}
+ Если вам хочеться следить за тем что я здесь публикую, вы можете
+ добавить эти RSS/Atom-ссылки в свой любимый RSS-ридер:
+ {% elif lang == "es" %}
+ Si te interesa estar al tanto de lo que publico aquí, cuan seguido
+ yo publique, puedes agregar estas direcciones de RSS/Atom a tu
+ lector RSS de preferencia:
+ {% else %}
+ If you are interested in following what I may publish here (however
+ often it may be), you can add these RSS/Atom urls to your favorite
+ RSS reader:
+ {% endif %}
+ Published {{ page.date | date(format="%b %d, %Y
- %H:%M UTC") }} on
- {% if page.permalink is containing("weblog") %}
- Yaroslav's weblogYaroslav de la Peña Smirnov
- {% endblock %}
- Yaroslav de la Peña Smirnov
+ {% endblock %}
+ Yaroslav's recipe archive
+
+ {% if lang == "ru" %}
+ Архив рецептов Ярослава
+ {% elif lang == "es" %}
+ Archivo del recetario de Yaroslav
+ {% else %}
+ Yaroslav's recipe archive
+ {% endif %}
+
{% endblock %}
{% block content %}
-{% set section = get_section(path="food/_index.md") %}
+{% if lang != "en" %}
+{% set section_path = "food/_index." ~ lang ~ ".md" %}
+{% else %}
+{% set section_path = "food/_index.md" %}
+{% endif %}
+{% set section = get_section(path=section_path) %}
{{ year }}
-
- {% for post in posts %}
-
- {% endfor %}
+ {% for year, posts in section.pages | group_by(attribute="year") %}
+ {{ year }}
+
+ {% for post in posts %}
+
+ {% endfor %}
Yaroslav de la Peña Smirnov
- Getting in contact
- RSS feeds
-
- https://www.yaroslavps.com/weblog/feed.xml
- https://www.yaroslavps.com/food/feed.xml
-
- {{ trans(key="full_name", lang=lang) }}
+
+ {% if lang == "ru" %}
+ Связаться
+ {% elif lang == "es" %}
+ Contacto
+ {% else %}
+ Getting in contact
+ {% endif %}
+
+ RSS feeds
+
+ {% if lang == "ru" %}
+https://www.yaroslavps.com/ru/weblog/feed.xml
+https://www.yaroslavps.com/ru/food/feed.xml
+ {% elif lang == "es" %}
+https://www.yaroslavps.com/es/weblog/feed.xml
+https://www.yaroslavps.com/es/food/feed.xml
+ {% else %}
+https://www.yaroslavps.com/weblog/feed.xml
+https://www.yaroslavps.com/food/feed.xml
+ {% endif %}
+
+ {{ page.title }}
-
Last edited {{ page.updated | date(format="%b %d, %Y - %H:%M UTC") }}
- {% endif %} ++ {{ 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 %}