diff --git a/skin/main.phps b/skin/main.phps
index 887c9b2..783bd9e 100644
--- a/skin/main.phps
+++ b/skin/main.phps
@@ -41,7 +41,7 @@ function index($ctx, array $versions, array $posts, PostLanguage $posts_lang) {
{$ctx->for_each($posts,
- fn($post, $i) => $ctx->articles_post_row($i, $post, $posts_lang, true))}
+ fn($post, $i) => $ctx->articles_post_row($i, $post, $posts_lang, true, false))}
{$ctx->lang('view_all_articles')}
@@ -91,7 +91,8 @@ function articles_post_row($ctx,
int $index,
Post $post,
PostLanguage $selected_lang,
- bool $no_block = false): string {
+ bool $no_block = false,
+ bool $show_year = true): string {
$year = $post->getYear();
$date = $post->getDate();
$url = $post->getUrl($selected_lang);
@@ -112,7 +113,7 @@ $buf .= '' : '';
return <<if_true($ctx->year > $year,
+{$ctx->if_true($show_year && $ctx->year > $year,
fn() => $ctx->articles_index_year_line($year, $index === 0, $selected_lang->value))}
{$buf}
HTML;