Added logo and favicon

This commit is contained in:
Kevin Veen-Birkenbach 2025-03-17 17:25:25 +01:00
parent be62b72e90
commit d390b500b4
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E
4 changed files with 12 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 286 KiB

View File

@ -26,12 +26,18 @@ html_static_path = ['_static']
html_sidebars = {
'**': [
'logo.html',
'structure.html', # Include your custom template
]
}
cymais_logo = "_static/img/logo_cymais.png"
html_favicon = cymais_logo
html_theme_options = {
"show_prev_next": False,
"logo_light": cymais_logo,
"logo_dark": cymais_logo,
}
source_suffix = {

View File

@ -0,0 +1,5 @@
<div class="sidebar-logo" style="text-align: center; margin-bottom: 1em;">
<img src="{{ pathto("_static/img/logo_cymais.png", 1) }}" alt="Logo" style="max-width: 100%;">
</div>

View File

@ -61,5 +61,5 @@
{% endif %}
</div>
{% endif %}
<script src="{{ pathto('_static/current-nav.js', 1) }}"></script>
<script src="{{ pathto('_static/js/current-nav.js', 1) }}"></script>