Skip to content
Merged
Changes from 3 commits
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
9 changes: 3 additions & 6 deletions python_docs_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,9 @@ <h3>{{ _('Navigation') }}</h3>
{% block footer %}
<div class="footer">
&copy; {% if theme_copyright_url or hasdoc('copyright') %}
<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>
{% endif %} {{ copyright|e }}.
{# Wrapping the below link introduces spurious whitespace #}
<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>
{% endif %} {{ copyright|e }}.
<br>
{% trans %}This page is licensed under the Python Software Foundation License Version 2.{% endtrans %}
<br>
Expand Down
Loading