Skip to content

Commit 375517f

Browse files
committed
Add hosted_on variable for a link in the footer
1 parent beb868f commit 375517f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

python_docs_theme/layout.html

+3
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ <h3>{{ _('Navigation') }}</h3>
143143
{% trans %}Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.{% endtrans %}
144144
<br />
145145
{% if theme_license_url %}{% trans license_file=theme_license_url %}See <a href="{{ license_file }}">History and License</a> for more information.{% endtrans %}<br />{% endif %}
146+
{% if theme_hosted_on %}
147+
{% trans hosted_on=theme_hosted_on %}Hosted on {{ hosted_on }}.{% endtrans %}<br />
148+
{% endif %}
146149
<br />
147150

148151
{% include "footerdonate.html" %}

python_docs_theme/theme.conf

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ headlinkcolor = #aaaaaa
2626
codebgcolor = #eeffcc
2727
codetextcolor = #333333
2828

29+
hosted_on =
2930
issues_url =
3031
license_url =
3132
root_name = Python

0 commit comments

Comments
 (0)