| 1 |
{# Override Furo's sidebar brand so the logo links to getqluster.com #} |
| 2 |
<div class="sidebar-brand{% if logo %} centered{% endif %}"> |
| 3 |
{%- if logo_url %} |
| 4 |
<a href="/qluster"> |
| 5 |
<div class="sidebar-logo-container"> |
| 6 |
<img class="sidebar-logo" src="{{ logo_url }}" alt="Logo"/> |
| 7 |
</div> |
| 8 |
</a> |
| 9 |
{%- endif %} |
| 10 |
{%- if theme_light_logo and theme_dark_logo %} |
| 11 |
<a href="/qluster"> |
| 12 |
<div class="sidebar-logo-container"> |
| 13 |
<img class="sidebar-logo only-light" src="{{ pathto('_static/' + theme_light_logo, 1) }}" alt="Light Logo"/> |
| 14 |
<img class="sidebar-logo only-dark" src="{{ pathto('_static/' + theme_dark_logo, 1) }}" alt="Dark Logo"/> |
| 15 |
</div> |
| 16 |
</a> |
| 17 |
{%- endif %} |
| 18 |
{% if not theme_sidebar_hide_name %} |
| 19 |
<a class="sidebar-brand-text" href="{{ pathto(master_doc) }}">{{ docstitle if docstitle else project }}</a> |
| 20 |
{%- endif %} |
| 21 |
</div> |