diff --git a/config.py b/config.py index 250916c..12f0ae9 100644 --- a/config.py +++ b/config.py @@ -44,6 +44,7 @@ with open('config/me.yml') as f: ICON_URL = conf['icon_url'] PASS = conf['pass'] PUBLIC_INSTANCES = conf.get('public_instances') + THEME_COLOR = conf.get('theme_color') USER_AGENT = ( f'{requests.utils.default_user_agent()} ' diff --git a/templates/layout.html b/templates/layout.html index 648c06b..f1cc5b0 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -15,6 +15,7 @@ +{% if config.THEME_COLOR %}{% endif %}