diff options
Diffstat (limited to '')
-rw-r--r-- | sphinx/themes/haiku/layout.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sphinx/themes/haiku/layout.html b/sphinx/themes/haiku/layout.html index 4e14826..c0c1904 100644 --- a/sphinx/themes/haiku/layout.html +++ b/sphinx/themes/haiku/layout.html @@ -4,7 +4,7 @@ Sphinx layout template for the haiku theme. - :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS. + :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. #} {%- extends "basic/layout.html" %} @@ -35,14 +35,14 @@ <div class="header" role="banner"> {%- block haikuheader %} {%- if theme_full_logo != "false" %} - <a href="{{ pathto('index') }}"> + <a href="{{ pathto(root_doc)|e }}"> <img class="logo" src="{{ logo_url|e }}" alt="Logo"/> </a> {%- else %} {%- if logo -%} <img class="rightlogo" src="{{ logo_url|e }}" alt="Logo"/> {%- endif -%} - <h1 class="heading"><a href="{{ pathto('index') }}"> + <h1 class="heading"><a href="{{ pathto(root_doc)|e }}"> <span>{{ shorttitle|e }}</span></a></h1> <h2 class="heading"><span>{{ title|striptags|e }}</span></h2> {%- endif %} |