Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cd92c8c

Browse files
committed
Add a different link to the logo
1 parent b6fc448 commit cd92c8c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python_docs_theme/layout.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,8 @@ <h3>{{ _('Navigation') }}</h3>
8585
<span></span>
8686
</label>
8787
<nav class="nav-content" role="navigation">
88-
<a href="{{ pathto('index') }}">
88+
<a href="{{ pathto(master_doc)|e }}">
8989
<img src="{{ pathto('_static/' + 'py.svg', 1) }}" alt="Logo"/>
90-
{{ shorttitle }}
9190
</a>
9291
<div class="version_switcher_placeholder"></div>
9392
{%- if pagename != "search" and builder != "singlehtml" %}

0 commit comments

Comments
 (0)