mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 05:04:27 +00:00
Add theme color config item
This commit is contained in:
parent
abc168257e
commit
694511121c
2 changed files with 2 additions and 0 deletions
|
@ -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()} '
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
<link rel="alternate" href="{{ config.ID }}/feed.json" type="application/json" title="JSON Feed">
|
||||
<link rel="alternate" href="{{ config.ID }}/feed.rss" type="application/rss+xml" title="RSS">
|
||||
<link rel="alternate" href="{{ config.ID }}/feed.atom" type="application/atom+xml" title="Atom 0.3">
|
||||
{% if config.THEME_COLOR %}<meta name="theme-color" content="{{ config.THEME_COLOR }}">{% endif %}
|
||||
</head>
|
||||
<body>
|
||||
<div class="base-container">
|
||||
|
|
Loading…
Reference in a new issue