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:
gl3n 2014-06-23 12:35:55 +02:00
parent b83f5adf97
commit bcf5e22910

View File

@ -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>