From bfc7ed81a53c21104c2862f8db79841e3b77b5ff Mon Sep 17 00:00:00 2001
From: Samuel W. Flint <swflint@flintfam.org>
Date: Tue, 25 May 2021 18:42:14 +0000
Subject: [PATCH] Include substitution of year in user-defined copyright strings
---
README.md | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 28e7737..68b0678 100644
--- a/README.md
+++ b/README.md
@@ -87,9 +87,9 @@
Add your own favicon in `static/favicons/favicon.ico`.
### Copyright
-By default, the copyright will show the authors name followed by the current year, but you can change this by configuring the `copyright` parameter.
+By default, the copyright will show the authors name followed by the current year, but you can change this by configuring the `copyright` parameter. If this method is used, the string `{{ YEAR }}` will be replaced with the current year during site generation.
```toml
-copyright = "2020-2021"
+copyright = "2020-{{ YEAR }}"
```
### Navigation items
--
Gitblit v1.10.0