feat: HTML wrap-up page with Askama template

This commit is contained in:
2026-06-02 22:28:28 +02:00
parent c0b3fb6940
commit f00a2cbbb8
5 changed files with 392 additions and 3 deletions

View File

@@ -163,6 +163,14 @@ fn html_routes(rate_limit: u64) -> Router<AppState> {
.route(
"/watch-queue/{id}/dismiss",
routing::post(handlers::html::post_dismiss_single),
)
.route(
"/wrapups/{user_id}/{year}",
routing::get(handlers::wrapup::get_user_wrapup_html),
)
.route(
"/wrapups/global/{year}",
routing::get(handlers::wrapup::get_global_wrapup_html),
);
#[cfg(feature = "federation")]