From 1f0453bfed46167db3900cbee93c446ad8edc1d3 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Wed, 25 Jan 2023 13:58:28 -0500 Subject: dynamically update year Signed-off-by: Xe Iaso --- src/tmpl/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/tmpl/mod.rs b/src/tmpl/mod.rs index db4f720..5fbd77e 100644 --- a/src/tmpl/mod.rs +++ b/src/tmpl/mod.rs @@ -97,7 +97,9 @@ pub fn base(title: Option<&str>, styles: Option<&str>, content: Markup) -> Marku hr; footer { blockquote { - "Copyright 2012-2022 Xe Iaso (Christine Dodrill). Any and all opinions listed here are my own and not representative of my employers; future, past and present." + "Copyright 2012-" + (now.year()) + " Xe Iaso (Christine Dodrill). Any and all opinions listed here are my own and not representative of my employers; future, past and present." } p { "Like what you see? Donate on " -- cgit v1.2.3