File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ <h3>{{ _('Navigation') }}</h3>
120
120
121
121
{% block footer %}
122
122
< div class ="footer ">
123
- © < a href ="{{ pathto('copyright') }} "> {% trans %}Copyright{% endtrans %}</ a > {{ copyright|e }}.
123
+ © {% 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 }}.
124
124
< br />
125
125
{% trans %}This page is licensed under the Python Software Foundation License Version 2.{% endtrans %}
126
126
< br />
Original file line number Diff line number Diff line change @@ -29,3 +29,4 @@ root_name = Python
29
29
root_url = https://www.python.org/
30
30
root_icon = py.svg
31
31
root_include_title = True
32
+ copyright_url =
You can’t perform that action at this time.
0 commit comments