2017-08-03 21:59:21 +04:00
|
|
|
@use nickel::Request;
|
2017-11-20 14:39:32 +04:00
|
|
|
@use models::Tag;
|
|
|
|
@use server::PhotoLink;
|
|
|
|
@use templates::{page_base, photo_link};
|
2016-09-23 23:03:04 +03:00
|
|
|
|
2017-11-20 14:39:32 +04:00
|
|
|
@(req: &Request, photos: &[PhotoLink], tag: &Tag)
|
2017-02-05 15:08:38 +04:00
|
|
|
|
2017-08-03 21:59:21 +04:00
|
|
|
@:page_base(req, &format!("Photos tagged {}", tag.tag_name), &[], {
|
2016-09-26 01:45:13 +03:00
|
|
|
<div class="group">
|
2017-11-20 14:39:32 +04:00
|
|
|
@for p in photos {@:photo_link(p)}
|
2016-09-26 01:45:13 +03:00
|
|
|
</div>
|
|
|
|
})
|