album/templates/not_found.rs.html
2017-08-03 19:59:21 +02:00

14 lines
395 B
HTML

@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>
}
})