@use nickel::Request; @use models::Tag; @use server::PhotoLink; @use templates::{page_base, photo_link}; @(req: &Request, photos: &[PhotoLink], tag: &Tag) @:page_base(req, &format!("Photos tagged {}", tag.tag_name), &[], {
@for p in photos {@:photo_link(p)}
})