diff --git a/snikket_web/__init__.py b/snikket_web/__init__.py index 335aced..0102895 100644 --- a/snikket_web/__init__.py +++ b/snikket_web/__init__.py @@ -47,7 +47,7 @@ async def home(): @app.route("/meta/about.html") async def about(): - return await render_template("about.html") + return await render_template("about.html", version=version) @app.route("/meta/demo.html") @@ -116,5 +116,8 @@ def proc(): } +app.template_filter("repr")(repr) + + from .user import user_bp # NOQA app.register_blueprint(user_bp) diff --git a/snikket_web/templates/about.html b/snikket_web/templates/about.html index fbaf626..33e2ec1 100644 --- a/snikket_web/templates/about.html +++ b/snikket_web/templates/about.html @@ -5,18 +5,22 @@ -

About Snikket

-

What is Snikket?

-

Snikket is an easy-to-use and easy-to-setup Instant Messaging platform for you and your friends and family.

-

What is the Snikket Web Portal?

-

Behind the Scenes and Licenses

-

Quart Microframework

-
-

h1

-

h2

-

h3

-

h4

-
h5
-
h6
+
+
+

About Snikket

+

To learn more about Snikket, visit the Snikket website.

+

About this Server

+

This is the Snikket server {{ config["SNIKKET_DOMAIN"] }}.

+

Software Versions

+
Snikket Server (unknown)
+Snikket Web Portal ({{ version }})
+ {#

Partial configuration

+
SNIKKET_DOMAIN = {{ config.get("SNIKKET_DOMAIN") | repr }}
+AVATAR_CACHE_TTL = {{ config.get("AVATAR_CACHE_TTL") | repr }}
+SECRET_KEY = <hidden>
+PROSODY_ENDPOINT = <hidden>
#} +

Back to main page +

+