diff options
author | metamuffin <metamuffin@disroot.org> | 2024-05-04 17:33:10 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-05-04 17:33:10 +0200 |
commit | 49470348afb49ceab9fece12eac5f73e20815d00 (patch) | |
tree | a9af7352e4d47ebdd149ae0d17a4e2eca1e03430 /src/web.rs | |
parent | a4d49095d1fa40fc7152d069006d1121300235bb (diff) | |
download | statuspage-49470348afb49ceab9fece12eac5f73e20815d00.tar statuspage-49470348afb49ceab9fece12eac5f73e20815d00.tar.bz2 statuspage-49470348afb49ceab9fece12eac5f73e20815d00.tar.zst |
mention date and software in footer
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" } "." + } } } } |