album/templates/index.rs.html
Rasmus Kaj ade508eb8d Use improved timecluster for day view.
Just as for people, places, and tag views.
2017-11-20 15:10:42 +01:00

13 lines
276 B
HTML

@use ::Link;
@use nickel::Request;
@use server::PhotoLink;
@use templates::{page_base, photo_link};
@(req: &Request, title: &str, lpath: &[Link], photos: &[PhotoLink])
@:page_base(req, title, lpath, {
<div class="group">
@for p in photos {@:photo_link(p)}
</div>
})