15 lines
359 B
HTML
15 lines
359 B
HTML
|
@use crate::templates::layouts::root;
|
||
|
@use hyaenidae_toolkit::templates::centered;
|
||
|
|
||
|
@(title: &str, description: &str, head: Content, body: Content)
|
||
|
|
||
|
@:root(title, description, { @:head() }, {
|
||
|
@:centered(true, {
|
||
|
<h2 class="title">@title</h2>
|
||
|
<p class="description">@description</p>
|
||
|
})
|
||
|
@:centered(false, {
|
||
|
@:body()
|
||
|
})
|
||
|
})
|