Skip to content

Commit e18f312

Browse files
Alternative approach
1 parent 54b3d8b commit e18f312

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

python_docs_theme/layout.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,10 @@ <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 %}">{% trans %}Copyright{% endtrans %}</a>
141-
{% endif %} {{ copyright|e }}.
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>
143+
{% endif %} {{ copyright|e }}.
142144
<br>
143145
{% trans %}This page is licensed under the Python Software Foundation License Version 2.{% endtrans %}
144146
<br>

0 commit comments

Comments
 (0)