album/templates/not_found.rs.html

14 lines
399 B
HTML
Raw Normal View History

@use nickel::Request;
@use templates::page_base;
@use nickel_jwt_session::SessionRequestExtensions;
@(req: &Request)
@:page_base(req, "Not found", &[], {}, {
<p>No page or photo match that url.</p>
@if req.authorized_user().is_none() {
<p>At least nothing publicly visible, you might try
<a href="/login@if let Some(p) = req.path_without_query() {?next=@p}">logging in</a>.</p>
}
})