aboutsummaryrefslogtreecommitdiff
path: root/src/tmpl
diff options
context:
space:
mode:
authorXe Iaso <me@christine.website>2023-01-25 13:58:28 -0500
committerXe Iaso <me@christine.website>2023-01-25 13:58:28 -0500
commit1f0453bfed46167db3900cbee93c446ad8edc1d3 (patch)
tree17d512ea4fb7d5fe10c9110238baa268e1813492 /src/tmpl
parente32abf821401dd2d52a134de0a745d06f4d08c70 (diff)
downloadxesite-1f0453bfed46167db3900cbee93c446ad8edc1d3.tar.xz
xesite-1f0453bfed46167db3900cbee93c446ad8edc1d3.zip
dynamically update year
Signed-off-by: Xe Iaso <me@christine.website>
Diffstat (limited to 'src/tmpl')
-rw-r--r--src/tmpl/mod.rs4
1 files changed, 3 insertions, 1 deletions
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 "