chore: clean up docs with changes to templates

This commit is contained in:
Jonathan Kelley committed 2022-12-07 13:39:22 -08:00
1 parent f075a519cc
commit a252774226
18 files changed
+34 -399

No files matched your search

+3 -1
View File
@@ -36,7 +36,9 @@ fn BlogList(cx: Scope) -> Element {
}
fn BlogPost(cx: Scope) -> Element {
let id = use_route(cx).segment("id")?;
let Some(id) = use_route(cx).segment("id") else {
return cx.render(rsx! { div { "No blog post id" } })
};
log::trace!("rendering blog post {}", id);