apply page suffix only for pages > 1

This commit is contained in:
yggverse 2025-08-10 09:57:19 +03:00
parent bc28d3852e
commit 808b871549

View file

@ -56,7 +56,7 @@ fn index(
t.push_str(S); t.push_str(S);
t.push_str(description) t.push_str(description)
} }
if let Some(p) = page { if let Some(p) = page && p > 1 {
t.push_str(S); t.push_str(S);
t.push_str(&format!("Page {p}")); t.push_str(&format!("Page {p}"));
} }