From: Roland Häder Date: Wed, 17 May 2023 03:41:54 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fc1e5f94ceb26c26a6a2f15032d0e158484fbdc3;p=fba.git Continued: - added slogan --- diff --git a/api.py b/api.py index 5df098f..917101b 100644 --- a/api.py +++ b/api.py @@ -30,7 +30,8 @@ def info(): return { "known_instances": known, "indexed_instances": indexed, - "blocks_recorded": blocks + "blocks_recorded": blocks, + "slogan": config["slogan"] } @app.get(base_url+"/top") diff --git a/config.defaults.json b/config.defaults.json index 47dfaef..1a0b4df 100644 --- a/config.defaults.json +++ b/config.defaults.json @@ -6,5 +6,6 @@ "bot_enabled": false, "bot_instance": "https://example.com", "bot_token": "", - "bot_visibility": "unlisted" + "bot_visibility": "unlisted", + "slogan": "### Your footer slogan ###" } diff --git a/index.html b/index.html index d2ff5dd..b15952f 100644 --- a/index.html +++ b/index.html @@ -163,7 +163,7 @@ indexed instances: {{info.indexed_instances}}
blocks recorded: {{info.blocks_recorded}}
source code: git.mxchange.org

- #SayNoToWoke #StraightNotBisexual + {{info.slogan}} {% endif %}