diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-05 16:20:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-05 16:20:59 +0000 |
commit | 5de84c9242643f786eff03726286578726d7d390 (patch) | |
tree | 8e8eadab2b786c41d7b8a2cdafbb467588928ad0 /doc/_themes/sphinx13/layout.html | |
parent | Releasing progress-linux version 7.2.6-8~progress7.99u1. (diff) | |
download | sphinx-5de84c9242643f786eff03726286578726d7d390.tar.xz sphinx-5de84c9242643f786eff03726286578726d7d390.zip |
Merging upstream version 7.3.7.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | doc/_themes/sphinx13/layout.html | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/_themes/sphinx13/layout.html b/doc/_themes/sphinx13/layout.html index 86a7943..aae163a 100644 --- a/doc/_themes/sphinx13/layout.html +++ b/doc/_themes/sphinx13/layout.html @@ -3,16 +3,17 @@ {% block extrahead %} {{ super() }} -{%- if not embedded and pagename == 'index' %} +{%- if not embedded and pagename == root_doc %} <style>.related { display: none; }</style> {%- endif %} {% endblock %} {% block header %} <div class="pageheader"> -<a href="{{ pathto('index') }}"> - <img src="{{ pathto('_static/sphinxheader.png', 1) }}" alt="SPHINX" /> -</a> + <a href="{{ pathto(root_doc)|e }}"> + <img src="{{ pathto('_static/sphinx-logo.svg', resource=True) }}" alt="logo" /> + </a> + <h1>Sphinx</h1> </div> {% endblock %} @@ -20,7 +21,7 @@ <div class="related" role="navigation" aria-label="related navigation"> <h3>{{ _('Navigation') }}</h3> <ul> - <li><a href="{{ pathto('index') }}">Documentation</a> »</li> + <li><a href="{{ pathto(root_doc)|e }}">Documentation</a> »</li> {%- for parent in parents %} <li class="nav-item nav-item-{{ loop.index }}"><a href="{{ parent.link|e }}" {% if loop.last %}{{ accesskey("U") }}{% endif %}>{{ parent.title }}</a>{{ reldelim1 }}</li> {%- endfor %} |