16a1b75643
Get rid of lib.rs, and move main entry point to main.rs.
13 lines
264 B
HTML
13 lines
264 B
HTML
@use ::Link;
|
|
@use nickel::Request;
|
|
@use models::Photo;
|
|
@use templates::{page_base, img_link};
|
|
|
|
@(req: &Request, title: &str, lpath: &[Link], photos: &[Photo])
|
|
|
|
@:page_base(req, title, lpath, {
|
|
<div class="group">
|
|
@for p in photos {@:img_link(p)}
|
|
</div>
|
|
})
|