diff --git a/htdocs/scss/app/blog.scss b/htdocs/scss/app/blog.scss index 6ce281e..6b05aa0 100644 --- a/htdocs/scss/app/blog.scss +++ b/htdocs/scss/app/blog.scss @@ -380,6 +380,13 @@ body.wide .blog-post { margin-top: 23px; } +.blog-expl { + border-radius: 4px; + padding: $base-padding; + background-color: $hover-hl; + line-height: 150%; + margin-bottom: 15px; +} .blog-list {} .blog-item-right-links { font-size: 16px; diff --git a/skin/main.phps b/skin/main.phps index 28a53f0..6018610 100644 --- a/skin/main.phps +++ b/skin/main.phps @@ -44,7 +44,11 @@ function articles($ctx, array $posts, PostLanguage $selected_lang): string { if (empty($posts)) return $ctx->articles_empty($selected_lang); +$expl = $ctx->lang('blog_expl_'.$selected_lang->value); +$expl = nl2br($expl); + return <<{$expl}
{$ctx->articles_posts_table($posts, $selected_lang)}
diff --git a/strings/main.yaml b/strings/main.yaml index c4430b1..f543651 100644 --- a/strings/main.yaml +++ b/strings/main.yaml @@ -37,6 +37,9 @@ meta_files_mdf_description: "Searchable archive of all Mercure de France issues meta_files_baconiana_description: "Searchable archive of Baconiana almanac." # blog +blog_expl_en: "Here you can find a series of articles about new episodes in this story that have occurred since the initial release of the book in 2022 and during the preparation of its 2nd edition and English translation in 2023.\n\nSince the main purpose of this section is publishing English translations of articles from the kiwi arXiv website, they appear here with a slight delay caused by the translation." +blog_expl_ru: "Здесь находится комплекс статей о новых эпизодах этой истории, происходивших после первоначального выхода книги «4в1» в 2022-м году и во время подготовки её 2-го издания и перевода его на английский язык в 2023-м.\n\nПоскольку основная цель этого раздела – публикация английских переводов статей с киви-архива, здесь они появляются с небольшой задержкой, этим переводом вызванной." + blog_new_post: "New post" blog_view_post: "View post" view_page: "View page"