16a1b75643
Get rid of lib.rs, and move main entry point to main.rs.
13 lines
273 B
HTML
13 lines
273 B
HTML
@use nickel::Request;
|
|
@use models::Person;
|
|
@use templates::page_base;
|
|
|
|
@(req: &Request, people: &[Person])
|
|
@:page_base(req, "Photo people", &[], {
|
|
<ul class="allpeople">
|
|
@for p in people {
|
|
<li><a href="/person/@p.slug">@p.person_name</a>
|
|
}</ul>
|
|
</div>
|
|
})
|