diff options
Diffstat (limited to 'src/web.rs')
-rw-r--r-- | src/web.rs | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,5 @@ use crate::{log::LOG, Check, Config, Service, Status, STATUS}; -use chrono::SubsecRound; +use chrono::{SubsecRound, Utc}; use markup::{doctype, Render}; use std::{collections::BTreeMap, ops::Deref, sync::Arc}; @@ -47,6 +47,9 @@ pub async fn make_html_page(config: Arc<Config>) -> String { } } } + footer { + "Generated " @Utc::now().to_rfc2822() " by " a[href="https://codeberg.org/metamuffin/statuspage"]{ "statuspage" } "." + } } } } |