]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Wed, 17 May 2023 03:41:54 +0000 (05:41 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 17 May 2023 03:41:54 +0000 (05:41 +0200)
- added slogan

api.py
config.defaults.json
index.html

diff --git a/api.py b/api.py
index 5df098fdecbbc4d12ed1908fc227b880dbb4b963..917101b5e3eed37983480dd5d03158853e39168d 100644 (file)
--- 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")
index 47dfaef1430598252d2807441ca44e36dd14a725..1a0b4df34f00059660984bbe076fa9c3f3dab615 100644 (file)
@@ -6,5 +6,6 @@
     "bot_enabled": false,
     "bot_instance": "https://example.com",
     "bot_token": "",
-    "bot_visibility": "unlisted"
+    "bot_visibility": "unlisted",
+    "slogan": "### Your footer slogan ###"
 }
index d2ff5dd148fed70f5fdd934af7c0901b5a204e91..b15952fce558dea9ca785f3b275e6a7c5562751b 100644 (file)
             indexed instances: {{info.indexed_instances}}<br/>
             blocks recorded: {{info.blocks_recorded}}<br/>
             source code: <a href="https://git.mxchange.org/?p=fba.git;a=summary" rel="source" target="_blank">git.mxchange.org</a><br /><br />
-            #SayNoToWoke #StraightNotBisexual
+            {{info.slogan}}
         </div>
     {% endif %}
 </body>