Set default theme to 'light' in base template if not specified

This commit is contained in:
Théophile Diot 2024-11-07 10:53:16 +01:00
parent 33d07aef64
commit f05acb2080
No known key found for this signature in database
GPG key ID: FA995104A0BA376A

View file

@ -1,4 +1,5 @@
{% set current_endpoint = request.path.split("/")[-1] %}
{% set theme = theme or "light" %}
{% set pro_diamond_url = url_for('static', filename='img/diamond.svg') %}
{% set avatar_url = url_for('static', filename='img/avatar_profil_BW.png') %}
{% set plugin_types = {