8ee8b809bc
The details view is now implemented with css grid, in a full-window no-scroll layout (except for small screens, where the design is still sequential and scroll is used) This incudes some cleanup of the markup and corresponding changes in the admin script.
11 lines
243 B
HTML
11 lines
243 B
HTML
@use super::base;
|
|
@use crate::server::{Context, Link};
|
|
|
|
@(context: &Context, title: &str, lpath: &[Link], meta: Content, content: Content)
|
|
@:base(context, title, lpath, meta, {
|
|
<main>
|
|
<h1>@title</h1>
|
|
@:content()
|
|
</main>
|
|
})
|