hide title description on pagination

This commit is contained in:
yggverse 2025-08-10 10:50:47 +03:00
parent 3a1a65b561
commit d5c8e04e80

View file

@ -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)
}