##// END OF EJS Templates
Added tag v5.2.1 for changeset a05b3b360e52
Added tag v5.2.1 for changeset a05b3b360e52

File last commit:

r5343:dad82407 stable
r5555:dcdeb81f stable
Show More
brand.html
33 lines | 1.1 KiB | text/html | HtmlLexer
docs(5.x): added new tempalte and bootstrapped 5.X docs
r5343 {#-
Hi there!
You might be interested in https://pradyunsg.me/furo/customisation/sidebar/
Although if you're reading this, chances are that you're either familiar
enough with Sphinx that you know what you're doing, or landed here from that
documentation page.
Hope your day's going well. :)
-#}
<a class="sidebar-brand{% if logo %} centered{% endif %}" href="{{ pathto(master_doc) }}">
{% block brand_content %}
{%- if logo_url %}
<div class="sidebar-logo-container">
<img class="sidebar-logo" src="{{ logo_url }}" alt="Logo"/>
</div>
{%- endif %}
{%- if theme_light_logo and theme_dark_logo %}
<div class="sidebar-logo-container">
<img class="sidebar-logo only-light" src="{{ pathto('_static/' + theme_light_logo, 1) }}" alt="Light Logo"/>
<img class="sidebar-logo only-dark" src="{{ pathto('_static/' + theme_dark_logo, 1) }}" alt="Dark Logo"/>
</div>
{%- endif %}
{% if not theme_sidebar_hide_name %}
<span class="sidebar-brand-text">
RhodeCode <br/>
Enterprise {{ release }} docs
</span>
{%- endif %}
{% endblock brand_content %}
</a>