5c03a28f59
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.
13 lines
295 B
HTML
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>
|
|
})
|