Skip to content

Commit fe9cd73

Browse files
Review
1 parent e18f312 commit fe9cd73

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

python_docs_theme/layout.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,8 @@ <h3>{{ _('Navigation') }}</h3>
137137
{% block footer %}
138138
<div class="footer">
139139
&copy; {% if theme_copyright_url or hasdoc('copyright') %}
140-
<a href="{% if theme_copyright_url %}{{ theme_copyright_url }}{% else %}{{ pathto('copyright') }}{% endif %}">
141-
{% endif %}
142-
{% trans %}Copyright{% endtrans %}{% if theme_copyright_url or hasdoc('copyright') %}</a>
140+
{# Wrapping the below link introduces spurious whitespace #}
141+
<a href="{% if theme_copyright_url %}{{ theme_copyright_url }}{% else %}{{ pathto('copyright') }}{% endif %}">{% endif %}{% trans %}Copyright{% endtrans %}{% if theme_copyright_url or hasdoc('copyright') %}</a>
143142
{% endif %} {{ copyright|e }}.
144143
<br>
145144
{% trans %}This page is licensed under the Python Software Foundation License Version 2.{% endtrans %}

0 commit comments

Comments
 (0)