Logo for dark theme
This commit is contained in:
parent
2a1f246925
commit
be6905cc3b
6 changed files with 82 additions and 19 deletions
|
|
@ -1 +1,6 @@
|
|||
<a class="title" href="/{{ context.tr.current_lang_code() }}/"><img class="logo" src="/static/logo.svg" alt="logo">{{ context.tr.t(Sentence::MainTitle) }}</a>
|
||||
<a class="title" href="/{{ context.tr.current_lang_code() }}/"><img class="logo" src="
|
||||
{% if context.dark_theme %}
|
||||
/static/logo_dark.svg
|
||||
{% else %}
|
||||
/static/logo_light.svg
|
||||
{% endif %}" alt="logo">{{ context.tr.t(Sentence::MainTitle) }}</a>
|
||||
Loading…
Add table
Add a link
Reference in a new issue