@use ::Link; @use rphotos::models::Photo; @use templates::{page_base, img_link}; @(title: &str, lpath: &[Link], user: Option, photos: &[Photo]) @:page_base(title, lpath, &user, {
@for p in photos {@:img_link(p)}
})