homepage text in config

This commit is contained in:
cube
2026-05-28 02:20:48 +01:00
parent 3f03525e8e
commit 9ca401c2cb
2 changed files with 5 additions and 1 deletions

View File

@@ -32,7 +32,9 @@ def index():
elif latest_start and not latest_end:
latest = latest_start[0]
return render_template('index.html', front_list=fronters, home_pins=homepage, last_updated=latest)
homepage_text = current_app.config["HOMEPAGE"]
return render_template('index.html', front_list=fronters, home_pins=homepage, last_updated=latest, homepage_text=homepage_text)
@bp.route('/full')
def full_list():

View File

@@ -13,6 +13,8 @@
{% if last_updated %}<br><i><sub>last updated: {{ get_datetime_str(last_updated) }}</sub></i>{% endif %}
</div>
<p>{{ homepage_text|safe }}</p>
{% for member in home_pins %}
{% if not g.user and member[9]==0 %}