Added theme specific logos

This commit is contained in:
Starystars67
2023-11-03 18:59:19 +00:00
parent d045dfcafd
commit ed2a1c687f
6 changed files with 20 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
{% if config.theme.logo %}
<img src="{{ config.theme.logo | url }}" alt="logo" class="logo-light" />
<img src="{{ config.theme.logo_dark | url }}" alt="logo" class="logo-dark" />
{% else %}
{% set icon = config.theme.icon.logo or "material/library" %}
{% include ".icons/" ~ icon ~ ".svg" %}
{% endif %}