use splices for template rendering
This commit is contained in:
parent
85231a20c7
commit
3a7b499742
|
@ -6,6 +6,9 @@ use crate::utils::sbot;
|
|||
|
||||
// HTML RENDERING FOR ELEMENTS
|
||||
|
||||
// TODO: refactor this to make better use of splices
|
||||
// https://maud.lambda.xyz/splices-toggles.html
|
||||
|
||||
fn downtime_element(downtime: &Option<String>) -> Markup {
|
||||
match downtime {
|
||||
Some(time) => {
|
||||
|
|
Loading…
Reference in New Issue