From 5716bfd7548e386b12703e76cdf273bce839116c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Fri, 12 Mar 2021 18:44:41 +0300 Subject: Initial commit Essential functional website. --- templates/index.ru.html | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 templates/index.ru.html (limited to 'templates/index.ru.html') diff --git a/templates/index.ru.html b/templates/index.ru.html new file mode 100644 index 0000000..aabfb4f --- /dev/null +++ b/templates/index.ru.html @@ -0,0 +1,46 @@ +{% extends "base.html" %} +{% block h1title %} +

Добро пожаловать в {{ config.title }}

+

Простой и не отстойный сайт рецептов.

+{% endblock %} +{% block body %} +{% if lang != "en" %} +{% set section_path = "recipes/_index." ~ lang ~ ".md" %} +{% else %} +{% set section_path = "recipes/_index.md" %} +{% endif %} +{% set section = get_section(path=section_path) %} +

Последний рецепт

+{% set latest = section.pages[0] %} +
+

+ {{ latest.title }} + {{ latest.date | date }} +

+ {% if latest.summary %} + {{ latest.summary | safe }} + {% endif %} +
+ +

Сделай вклад

+

+Если хочешь опубликовать свой рецепт или улучшить сайт, мы здесь этому рады. +Больше информации можно найти здесь. +

+

Другие языки

+

+Сайт также доступен на данный момент на этих языках: +

+ +

+Учтите что рецепты переводятся отдельно от самого сайта. То есть, не все рецепты +доступны на всех языках сайта. Если вы желаете помочь в переводе сайта на другие +языки или улучшить существующие переводы, прочитайте страницу +о сайте. +

+{% endblock %} -- cgit v1.2.3