diff --git a/frontend.py b/frontend.py index 9a80ee7..9fb71e2 100644 --- a/frontend.py +++ b/frontend.py @@ -191,7 +191,7 @@ def last(): @app.route("/faq") def faq(): - return render_template("faq.jinja") + return render_template("faq.jinja", **CONFIG["FAQ"]) if "INTERRUPT_KEY" in CONFIG: diff --git a/settings.example.toml b/settings.example.toml index 1847576..1156a11 100644 --- a/settings.example.toml +++ b/settings.example.toml @@ -59,6 +59,17 @@ VERSION = 1 #] +# contact details +[FAQ] +SOURCE = "https://github.com/voc/infobeamer-cms" +CONTACT = """ + Please use the IRC + Channel #infobeamer on irc.hackint.org (also + bridged to matrix) + or #info-beamer on the cccv rocketchat instance. +""" + + # extra assets. If this is empty, only the uploaded content and a notice # on where to find the CMS will be shown. You can use this to overlay # content on top of that content. diff --git a/templates/faq.jinja b/templates/faq.jinja index 9baa42c..3ee0bd2 100644 --- a/templates/faq.jinja +++ b/templates/faq.jinja @@ -53,8 +53,8 @@

Help wanted! If you want to help us to get rid of the github login, please get in touch. This project is written in - python and hosted - on github. + python and the source code is available + publicly.

What formats are supported?

@@ -78,10 +78,7 @@

Where can I get in contact?

- Please use the IRC - Channel #infobeamer on irc.hackint.org (also - bridged to matrix) - or #info-beamer on the cccv rocketchat instance. +{{ CONTACT }}

{% endblock %}