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

Skip to content

Commit 190931b

Browse files
committed
Add link to homepage in mobile version
1 parent d31371e commit 190931b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

python_docs_theme/layout.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,10 @@ <h3>{{ _('Navigation') }}</h3>
8585
<span></span>
8686
</label>
8787
<nav class="nav-content" role="navigation">
88-
<img src="{{ pathto('_static/' + 'py.svg', 1) }}" alt="Logo"/>
88+
<a href="{{ pathto('index') }}">
89+
<img src="{{ pathto('_static/' + 'py.svg', 1) }}" alt="Logo"/>
90+
{{ shorttitle }}
91+
</a>
8992
<div class="version_switcher_placeholder"></div>
9093
{%- if pagename != "search" and builder != "singlehtml" %}
9194
<form id="searchbox" role="search" class="search" action="{{ pathto('search') }}" method="get">

0 commit comments

Comments
 (0)