add an informative note to the /articles page

This commit is contained in:
E. S. 2024-04-18 19:35:56 +00:00
parent 766ca6d909
commit 666b2ad4bb
3 changed files with 14 additions and 0 deletions

View File

@ -380,6 +380,13 @@ body.wide .blog-post {
margin-top: 23px; margin-top: 23px;
} }
.blog-expl {
border-radius: 4px;
padding: $base-padding;
background-color: $hover-hl;
line-height: 150%;
margin-bottom: 15px;
}
.blog-list {} .blog-list {}
.blog-item-right-links { .blog-item-right-links {
font-size: 16px; font-size: 16px;

View File

@ -44,7 +44,11 @@ function articles($ctx, array $posts, PostLanguage $selected_lang): string {
if (empty($posts)) if (empty($posts))
return $ctx->articles_empty($selected_lang); return $ctx->articles_empty($selected_lang);
$expl = $ctx->lang('blog_expl_'.$selected_lang->value);
$expl = nl2br($expl);
return <<<HTML return <<<HTML
<div class="blog-expl">{$expl}</div>
<div class="blog-list"> <div class="blog-list">
{$ctx->articles_posts_table($posts, $selected_lang)} {$ctx->articles_posts_table($posts, $selected_lang)}
</div> </div>

View File

@ -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." meta_files_baconiana_description: "Searchable archive of Baconiana almanac."
# blog # 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_new_post: "New post"
blog_view_post: "View post" blog_view_post: "View post"
view_page: "View page" view_page: "View page"