-
-
Notifications
You must be signed in to change notification settings - Fork 401
Expand file tree
/
Copy pathbrand.html
More file actions
33 lines (28 loc) · 1.29 KB
/
brand.html
File metadata and controls
33 lines (28 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{#-
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 %}
{% endblock brand_content %}
</a>
<div class="social social--sidebar" style="margin-top: 1em; display: flex; justify-content: center; gap: 8px">
<div class="github-stars github-stars--sidebar"></div>
<div><a href="https://discord.gg/ABvfpbu69R"><img
src="https://dcbadge.limes.pink/api/server/https://discord.gg/ABvfpbu69R?style=flat-square"/></a></div>
</div>