pict-rs-aggregator/templates/error.rs.html

19 lines
396 B
HTML
Raw Normal View History

@use crate::State;
2023-01-29 19:51:04 +00:00
@use super::{layout_html, return_home_html};
@(error: &str, state: &State)
2023-01-29 19:51:04 +00:00
@:layout_html(state, "Error", Some(error), {}, {
<section>
2023-03-10 03:49:22 +00:00
<article>
<div class="content-group">
<h3>Error</h3>
</div>
<div class="content-group">
<p class="subtitle">@error</p>
</div>
</article>
</section>
2023-01-29 19:51:04 +00:00
@:return_home_html(state)
})