takahe/docs/_templates/sidebar/brand.html

24 lines
1.2 KiB
HTML
Raw Permalink Normal View History

2022-11-26 00:44:10 +00:00
<a class="sidebar-brand{% if logo %} centered{% endif %}" href="{{ pathto(master_doc) }}">
{% block brand_content %}
2023-01-09 16:58:17 +00:00
{%- if logo_url %}
<div class="sidebar-logo-container">
<img class="sidebar-logo" src="{{ logo_url }}" alt="Takahē"/>
</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 %}
2022-11-26 00:44:10 +00:00
{% endblock brand_content %}
2023-01-09 16:58:17 +00:00
</a>
2022-11-26 00:44:10 +00:00
<div class="sidebar-tree" style="margin-top:0">
<ul>
<li class="toctree-l1"><a class="reference" href="https://jointakahe.org">Homepage</a></li>
2022-11-26 21:47:06 +00:00
<li class="toctree-l1"><a class="reference" href="/">Documentation Root</a></li>
2022-11-26 00:44:10 +00:00
<li class="toctree-l1"><a class="reference" href="https://github.com/jointakahe/takahe">GitHub</a></li>
<li class="toctree-l1"><a class="reference" href="https://discord.gg/qvQ39tAMvf">Discord</a></li>
</ul>
</div>