From d5c8e04e8091fc23cad11c722408170baa18e625 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 10 Aug 2025 10:50:47 +0300 Subject: [PATCH] hide title description on pagination --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index e02f482..f8a9e4f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -57,7 +57,7 @@ fn index( t.push_str(S) } t.push_str(&meta.title); - if let Some(ref description) = meta.description { + if let Some(ref description) = meta.description && page.is_none_or(|p| p == 1) { t.push_str(S); t.push_str(description) }