Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Replaced + with ~ string concatenation everywhere in layout.html
  • Loading branch information
mbudisic authored Jan 12, 2024
commit 23abd2a184e631ebf6441bd3658e1f59eeeeabd3
4 changes: 2 additions & 2 deletions python_docs_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h3>{{ _('Navigation') }}</h3>

{%- block extrahead -%}
<link rel="stylesheet" href="{{ pathto('_static/pydoctheme_dark.css', 1) }}" media="(prefers-color-scheme: dark)" id="pydoctheme_dark_css">
<link rel="shortcut icon" type="image/png" href="{{ pathto('_static/' + theme_root_icon, 1) }}" />
<link rel="shortcut icon" type="image/png" href="{{ pathto('_static/' ~ theme_root_icon, 1) }}" />
{%- if builder != "htmlhelp" %}
{%- if not embedded %}
<script type="text/javascript" src="{{ pathto('_static/copybutton.js', 1) }}"></script>
Expand Down Expand Up @@ -121,7 +121,7 @@ <h3>{{ _('Navigation') }}</h3>
{%- if logo %}
<p class="logo">
<a href="{{ pathto('index') }}">
<img class="logo" src="{{ pathto('_static/' + logo, 1)|e }}" alt="Logo"/>
<img class="logo" src="{{ pathto('_static/' ~ logo, 1)|e }}" alt="Logo"/>
</a>
</p>
{%- endif %}
Expand Down