Skip to content

Commit 137681f

Browse files
authored
Update layout.html
Removed explicit py.svg references with theme_root_icon paths
1 parent d1e6df4 commit 137681f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python_docs_theme/layout.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ <h3>{{ _('Navigation') }}</h3>
1414
</li>
1515
{%- endfor %}
1616
{%- block rootrellink %}
17-
<li><img src="{{ pathto('_static/py.svg', 1) }}" alt="python logo" style="vertical-align: middle; margin-top: -1px"/></li>
17+
<li><img src="{{ pathto('_static/' + theme_root_icon, 1) }}" alt="python logo" style="vertical-align: middle; margin-top: -1px"/></li>
1818
<li><a href="{{theme_root_url}}">{{theme_root_name}}</a>{{ reldelim1 }}</li>
1919
<li class="switchers">
2020
<div class="language_switcher_placeholder"></div>
@@ -100,7 +100,7 @@ <h3>{{ _('Navigation') }}</h3>
100100
</label>
101101
<span class="nav-items-wrapper">
102102
<a href="{{ theme_root_url }}" class="nav-logo">
103-
<img src="{{ pathto('_static/py.svg', 1) }}" alt="Logo"/>
103+
<img src="{{ pathto('_static/' + theme_root_icon, 1) }}" alt="Logo"/>
104104
</a>
105105
<span class="version_switcher_placeholder"></span>
106106
{%- if pagename != "search" and builder != "singlehtml" %}

0 commit comments

Comments
 (0)