mirror of
https://github.com/BeamMP/Docs.git
synced 2026-02-16 02:20:44 +00:00
Added theme specific logos
This commit is contained in:
7
overrides/partials/logo.html
Normal file
7
overrides/partials/logo.html
Normal 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 %}
|
||||
Reference in New Issue
Block a user