Page abstraction
All checks were successful
CI / Check typos (push) Successful in 10s
CI / Check links (push) Successful in 34s
CI / Clippy (push) Successful in 41s
CI / Build and test (push) Successful in 2m4s
CI / Build container (push) Successful in 3m15s

This commit is contained in:
2025-11-04 08:55:14 -08:00
parent acc057e4cb
commit 4504a88f4b
20 changed files with 522 additions and 233 deletions

View File

@@ -16,12 +16,9 @@ impl<T: Render> Render for FarLink<'_, T> {
}
}
pub struct Backlinks(
pub &'static [(&'static str, &'static str)],
pub &'static str,
);
pub struct Backlinks<'a>(pub &'a [(&'a str, &'a str)], pub &'a str);
impl Render for Backlinks {
impl Render for Backlinks<'_> {
fn render(&self) -> Markup {
html! {
div {