| 1 | <a class="sidebar-brand{% if logo %} centered{% endif %}" href="{{ pathto(master_doc) }}"> |
| 2 | {%- block brand_content %} |
| 3 | {%- if logo_url %} |
| 4 | <div class="sidebar-logo-container"> |
| 5 | <img class="sidebar-logo" src="{{ logo_url }}" width="200" height="200" decoding="async" fetchpriority="high" alt="Logo"/> |
| 6 | </div> |
| 7 | {%- endif %} |
| 8 | {%- if theme_light_logo and theme_dark_logo %} |
| 9 | <div class="sidebar-logo-container"> |
| 10 | <img class="sidebar-logo only-light" src="{{ pathto('_static/' + theme_light_logo, 1) }}" width="200" height="200" decoding="async" fetchpriority="high" alt="Light Logo"/> |
| 11 | <img class="sidebar-logo only-dark" src="{{ pathto('_static/' + theme_dark_logo, 1) }}" width="200" height="200" decoding="async" fetchpriority="high" alt="Dark Logo"/> |
| 12 | </div> |
| 13 | {%- endif %} |
| 14 | {% if not theme_sidebar_hide_name %} |
| 15 | <span class="sidebar-brand-text">{{ docstitle if docstitle else project }}</span> |
| 16 | {%- endif %} |
| 17 | {% endblock brand_content %} |
| 18 | </a> |