get_recipe_page :: (req: Request) -> string { id := table_find_pointer(*req.query, "id"); if !id then return "

Error: invalid recipe id

"; curRecipe : Recipe; for state.recipes if it.id == id.* curRecipe = it; if curRecipe.id == "" then return "

Can't find recipe!

"; builder : String_Builder; add_navbar(*builder); print_to_builder(*builder, recipeHero, curRecipe.image); return builder_to_string(*builder); } recipeHero : string = #string DONE
Steak
DONE