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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user