Created
April 7, 2012 13:25
-
-
Save ramnathv/2328868 to your computer and use it in GitHub Desktop.
Modify Navigation Bar for a Sphinx Theme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends "!layout.html" %} | |
{% block rootrellink %} | |
<li><a href="{{ pathto('index') }}">home</a>| </li> | |
<li><a href="{{ pathto('search') }}">search</a>| </li> | |
<li><a href="{{ pathto('contents') }}">documentation </a> »</li> | |
{% endblock %} | |
{% block relbar1 %} | |
<div style="background-color: white; text-align: left; padding: 10px 10px 15px 15px"> | |
<a href="{{ pathto('index') }}"><img src="{{ | |
pathto("_static/logo.png", 1) }}" border="0" alt="sampledoc"/></a> | |
</div> | |
{{ super() }} | |
{% endblock %} | |
{# put the sidebar before the body #} | |
{% block sidebar1 %}{{ sidebar() }}{% endblock %} | |
{% block sidebar2 %}{% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment