diff options
| author | Xe Iaso <me@christine.website> | 2023-01-25 13:58:28 -0500 |
|---|---|---|
| committer | Xe Iaso <me@christine.website> | 2023-01-25 13:58:28 -0500 |
| commit | 1f0453bfed46167db3900cbee93c446ad8edc1d3 (patch) | |
| tree | 17d512ea4fb7d5fe10c9110238baa268e1813492 /src/tmpl | |
| parent | e32abf821401dd2d52a134de0a745d06f4d08c70 (diff) | |
| download | xesite-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.rs | 4 |
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 " |
