Skip to main content

max / makenotwork

templates: wire up Team page template struct Add TeamTemplate to templates/public/mod.rs and the IntoResponse impl macro list. The team.html template file landed in an earlier exorcise commit; this hooks the Rust side up so the route can render it. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Author: Max J. <87768334+MaxJMath@users.noreply.github.com> · 2026-05-21 21:50 UTC
Commit: e2308b0e6898042c2bc45ab512e292d889469207
Parent: a913484
2 files changed, +10 insertions, -0 deletions
@@ -89,6 +89,8 @@ impl_into_response!(
89 89 PricingTemplate,
90 90 // Use cases
91 91 UseCasesTemplate,
92 + // Team
93 + TeamTemplate,
92 94 // Changelog
93 95 ChangelogTemplate,
94 96 // Fan+
@@ -757,6 +757,14 @@ pub struct UseCasesTemplate {
757 757 pub session_user: Option<SessionUser>,
758 758 }
759 759
760 + /// Team page listing the founder, residents, and fellows.
761 + #[derive(Template)]
762 + #[template(path = "pages/team.html")]
763 + pub struct TeamTemplate {
764 + pub csrf_token: CsrfTokenOption,
765 + pub session_user: Option<SessionUser>,
766 + }
767 +
760 768 /// What's New / changelog page.
761 769 #[derive(Template)]
762 770 #[template(path = "pages/changelog.html")]