mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Custom sidebar title
I added a **sidebartitle** block to customize easily the sidebar title (with the project image for example).
This commit is contained in:
parent
b83f5adf97
commit
bcf5e22910
|
@ -82,7 +82,9 @@
|
|||
{# SIDE NAV, TOGGLES ON MOBILE #}
|
||||
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
|
||||
<div class="wy-side-nav-search">
|
||||
<a href="{{ pathto(master_doc) }}" class="fa fa-home"> {{ project }}</a>
|
||||
{% block sidebartitle %}
|
||||
<a href="{{ pathto(master_doc) }}" class="fa fa-home"> {{ project }}</a>
|
||||
{% endblock %}
|
||||
{% include "searchbox.html" %}
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user