asonix
4ff824b92d
Add submissions to home page Add drafts page Validate handle, display name, description, submission: title, description Add block checks to submission iterator Add user info to submission page Abstract dark preference to a single source, not yet configurable
14 lines
490 B
HTML
14 lines
490 B
HTML
@use crate::templates::layouts::main;
|
|
@use hyaenidae_toolkit::{templates::{card, card_body, card_title, link}, Card, Link};
|
|
|
|
@(error: String, dark: bool)
|
|
|
|
@:main("Error", "There was an error processing your request", dark, {}, {
|
|
@:card(&Card::full_width().dark(dark), {
|
|
@:card_title({ There was an error processing your request })
|
|
@:card_body({ @error })
|
|
@:card_body({
|
|
@:link(&Link::current_tab("/").dark(dark), { Return Home })
|
|
})
|
|
})
|
|
})
|