album/templates/place.rs.html
Rasmus Kaj 5028a1831c Add timecluster grouping for place views.
Just as for people and tag views.
2017-11-20 12:42:01 +01:00

12 lines
307 B
HTML

@use nickel::Request;
@use models::{Place};
@use server::PhotoLink;
@use templates::{page_base, photo_link};
@(req: &Request, photos: &[PhotoLink], place: &Place)
@:page_base(req, &format!("Photos from {}", place.place_name), &[], {
<div class="group">
@for p in photos {@:photo_link(p)}
</div>
})