@use rphotos::models::{Photo, Person}; @use templates::{page_base, img_link}; @(user: Option, photos: &[Photo], person: Person) @:page_base(&format!("Photos with {}", person.person_name), &[], &user, {
@for p in photos {@:img_link(p)}
})