@use models::Coord; @use nickel::Request; @use server::{Link, PhotoLink}; @use templates::{data_positions, page_base, photo_link}; @(req: &Request, title: &str, lpath: &[Link], photos: &[PhotoLink], coords: &[(Coord, i32)]) @:page_base(req, title, lpath, {
@for p in photos {@:photo_link(p)}
})