fix show commit version on UI
This commit is contained in:
committed by
fiatjaf
parent
5dacf52bdb
commit
65a85e3612
@@ -108,6 +108,7 @@ def register_assets(app: QuartTrio):
|
||||
def register_filters(app: QuartTrio):
|
||||
"""Jinja filters."""
|
||||
app.jinja_env.globals["SITE_TITLE"] = app.config["LNBITS_SITE_TITLE"]
|
||||
app.jinja_env.globals["LNBITS_VERSION"] = app.config["LNBITS_COMMIT"]
|
||||
app.jinja_env.globals["EXTENSIONS"] = get_valid_extensions()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user