You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I would like to change my logo according to the theme,
I want to change my logo according to the theme (black logo for the white theme and white logo for the dark theme).
To do this, I've overwritten the logo.html file:
(I'm not at all sure about my html file, I built it a bit like Frankenstein)
The logo does change according to the theme, but when I switch sections, the logo disappears (e.g. if I go to "contributing"), and if I click on the section again, the logo appears correctly.
1st click on contributing (from 'home' section)
2nd click on contributing (from 'contributing' section)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I would like to change my logo according to the theme,
I want to change my logo according to the theme (black logo for the white theme and white logo for the dark theme).
To do this, I've overwritten the logo.html file:
(I'm not at all sure about my html file, I built it a bit like Frankenstein)
The logo does change according to the theme, but when I switch sections, the logo disappears (e.g. if I go to "contributing"), and if I click on the section again, the logo appears correctly.
1st click on contributing (from 'home' section)


2nd click on contributing (from 'contributing' section)
Here is the "theme" section of my mkdocs.yml file:
Do you have any ideas to help me? I'll take it!
PS:
If you want to go through my code, the repository is open-source: https://github.com/napse-invest/django-napse/tree/feature/mkdocs
Beta Was this translation helpful? Give feedback.
All reactions