mirror of
https://github.com/jomjol/AI-on-the-edge-device-docs.git
synced 2025-12-07 12:07:01 +03:00
add your logo to the sidebar
This commit is contained in:
15
readthedocs-mod/main.html
Normal file
15
readthedocs-mod/main.html
Normal file
@@ -0,0 +1,15 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{%- block site_name %}
|
||||
<!-- Add our logo -->
|
||||
<img src=https://jomjol.github.io/AI-on-the-edge-device-docs/img/logo.png> <!-- needs to be an absolute page since the index page handles it differently :( )-->
|
||||
{%- if config.theme.logo %}
|
||||
<a href="{{ nav.homepage.url|url }}">
|
||||
{%- else %}
|
||||
<a href="{{ nav.homepage.url|url }}" class="icon icon-home"> {{ config.site_name }}
|
||||
{%- endif %}
|
||||
{%- if config.theme.logo %}
|
||||
<img src="{{ config.theme.logo|url }}" class="logo" alt="{% trans %}Logo{% endtrans %}"/>
|
||||
{%- endif %}
|
||||
</a>
|
||||
{%- endblock %}
|
||||
Reference in New Issue
Block a user