feat(template): add version and Current Year via template

- Create python method that returns Current year in json
- footer.html fetch year by {{ year }}
- Add PROJECT_VERSION in .env and .env.example file
- base.html and footer.html fetch current version by {{ config["PROJECT_VERSION"] }}
This commit is contained in:
abneeeees
2026-01-18 02:30:18 +05:30
parent 805731c94b
commit c0f1dd2ad4
4 changed files with 11 additions and 3 deletions
+1
View File
@@ -2,6 +2,7 @@
WEB_APP_PORT=5000
# Application configuration
PROJECT_VERSION=3.1.2
MAX_CONTENT_LENGTH=3145728
MAX_PENDING_TIME=600
MAX_STORE_TIME=259200