diff options
author | Pauli Virtanen <pav@iki.fi> | 2013-05-04 01:29:28 +0300 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2013-05-04 01:29:28 +0300 |
commit | 0c0196105ecf4df9f83a08808d77e8f984885202 (patch) | |
tree | 4e205157793fbf9354bd36eefd4c1c9fed87f77f | |
parent | bbf1a70bc95f571b25b7e8a608f9a4a0406d922f (diff) | |
download | scipy-sphinx-theme-0c0196105ecf4df9f83a08808d77e8f984885202.tar.gz |
Don't show breadcrumb for the master doc itself
-rw-r--r-- | _theme/scipy/layout.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/_theme/scipy/layout.html b/_theme/scipy/layout.html index b5e1855..c3b709c 100644 --- a/_theme/scipy/layout.html +++ b/_theme/scipy/layout.html @@ -25,7 +25,9 @@ <li class="active"><a href="{{ link[0] }}">{{ link[1] }}</a></li> {%- endfor %} {%- block rootrellink %} + {% if pagename != master_doc %} <li class="active"><a href="{{ pathto(master_doc) }}">{{ shorttitle|e }}</a></li> + {% endif %} {%- endblock %} {%- for parent in parents %} <li class="active"><a href="{{ parent.link|e }}" {% if loop.last %}{{ accesskey("U") }}{% endif %}>{{ parent.title }}</a></li> |