Render handout page on server
Some checks failed
CI / Check typos (push) Successful in 8s
CI / Check links (push) Successful in 9s
CI / Clippy (push) Failing after 50s
CI / Build container (push) Has been cancelled
CI / Deploy on waypoint (push) Has been cancelled
CI / Build and test (push) Has been cancelled

This commit is contained in:
2025-11-04 19:13:32 -08:00
parent 62a3da195f
commit 3f508f1995
11 changed files with 561 additions and 363 deletions

View File

@@ -1,9 +1,13 @@
mod index;
use assetserver::Asset;
pub use index::index;
use crate::{page::Page, routes::assets::Image_Icon};
mod handouts;
mod index;
pub use handouts::handouts;
pub use index::index;
pub fn links() -> Page {
/*
Dead links:
@@ -21,10 +25,3 @@ pub fn betalupi() -> Page {
Some(Image_Icon::URL.to_string()),
)
}
pub fn handouts() -> Page {
Page::from_markdown(
include_str!("handouts.md"),
Some(Image_Icon::URL.to_string()),
)
}