13 lines
386 B
HTML
13 lines
386 B
HTML
@use nickel::Request;
|
|
@use crate::models::{Coord, Tag};
|
|
@use crate::server::PhotoLink;
|
|
@use super::{data_positions, page_base, photo_link};
|
|
|
|
@(req: &Request, photos: &[PhotoLink], coords: &[(Coord, i32)], tag: &Tag)
|
|
|
|
@:page_base(req, &format!("Photos tagged {}", tag.tag_name), &[], {}, {
|
|
<div class="group"@:data_positions(coords)>
|
|
@for p in photos {@:photo_link(p)}
|
|
</div>
|
|
})
|