pict-rs-aggregator/templates/error.rs.html
2023-01-29 13:51:04 -06:00

19 lines
364 B
HTML

@use crate::State;
@use super::{layout_html, return_home_html};
@(error: &str, state: &State)
@:layout_html(state, "Error", Some(error), {}, {
<section>
<article>
<div class="content-group">
<h3>Error</h3>
</div>
<div class="content-group">
<p class="subtitle">@error</p>
</div>
</article>
</section>
@:return_home_html(state)
})