Skip to content

Commit

Permalink
Update layout.html
Browse files Browse the repository at this point in the history
Removed explicit py.svg references with theme_root_icon paths
  • Loading branch information
mbudisic authored Jan 9, 2024
1 parent d1e6df4 commit 137681f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python_docs_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h3>{{ _('Navigation') }}</h3>
</li>
{%- endfor %}
{%- block rootrellink %}
<li><img src="{{ pathto('_static/py.svg', 1) }}" alt="python logo" style="vertical-align: middle; margin-top: -1px"/></li>
<li><img src="{{ pathto('_static/' + theme_root_icon, 1) }}" alt="python logo" style="vertical-align: middle; margin-top: -1px"/></li>
<li><a href="{{theme_root_url}}">{{theme_root_name}}</a>{{ reldelim1 }}</li>
<li class="switchers">
<div class="language_switcher_placeholder"></div>
Expand Down Expand Up @@ -100,7 +100,7 @@ <h3>{{ _('Navigation') }}</h3>
</label>
<span class="nav-items-wrapper">
<a href="{{ theme_root_url }}" class="nav-logo">
<img src="{{ pathto('_static/py.svg', 1) }}" alt="Logo"/>
<img src="{{ pathto('_static/' + theme_root_icon, 1) }}" alt="Logo"/>
</a>
<span class="version_switcher_placeholder"></span>
{%- if pagename != "search" and builder != "singlehtml" %}
Expand Down

0 comments on commit 137681f

Please sign in to comment.