album/templates/people.rs.html
Rasmus Kaj 5c03a28f59 Use warp instead of nickel.
Use the modern async warp web framework instead of nickel (which is
starting to feel a bit stale).

Url routing and context passing is changed a lot.
2019-04-22 16:08:19 +02:00

13 lines
295 B
HTML

@use super::page_base;
@use crate::models::Person;
@use crate::server::Context;
@(context: &Context, people: &[Person])
@:page_base(context, "Photo people", &[], {}, {
<ul class="allpeople">
@for p in people {
<li><a href="/person/@p.slug">@p.person_name</a>
}</ul>
</div>
})