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
277 B
HTML
13 lines
277 B
HTML
@use super::page_base;
|
|
@use crate::models::Place;
|
|
@use crate::server::Context;
|
|
|
|
@(context: &Context, places: &[Place])
|
|
|
|
@:page_base(context, "Photo places", &[], {}, {
|
|
<ul class="allplaces">
|
|
@for p in places {
|
|
<li><a href="/place/@p.slug">@p.place_name</a>
|
|
}</ul>
|
|
})
|