album/templates/tag.rs.html
Rasmus Kaj b47726a6a5 Add timecluster grouping for tag views.
Just as for people.
2017-11-20 11:40:06 +01:00

13 lines
298 B
HTML

@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), &[], {
<div class="group">
@for p in photos {@:photo_link(p)}
</div>
})