10000 add footer.html · murnana/python-docs-theme@cf75cbd · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jul 11, 2020. It is now read-only.

Commit cf75cbd

Browse files
committed
add footer.html
1 parent e1f920e commit cf75cbd

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

python_docs_theme/footer.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
&copy; <a href="{{ pathto('copyright') }}">{% trans %}Copyright{% endtrans %}</a> {{ copyright|e }}.
2+
<br />
3+
4+
{% include "footerdonate.html" %}
5+
<br />
6+
7+
{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
8+
{% if theme_issues_url %}{% trans pathto_bugs=theme_issues_url %}<a href="{{ theme_issues_url }}">Found a bug</a>?{% endtrans %}{% endif %}
9+
<br />
10+
11+
{% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}

python_docs_theme/layout.html

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,6 @@
4545

4646
{% block footer %}
4747
<div class="footer">
48-
&copy; <a href="{{ pathto('copyright') }}">{% trans %}Copyright{% endtrans %}</a> {{ copyright|e }}.
49-
<br />
50-
51-
{% include "footerdonate.html" %}
52-
<br />
53-
54-
{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
55-
{% if theme_issues_url %}{% trans pathto_bugs=theme_issues_url %}<a href="{{ theme_issues_url }}">Found a bug</a>?{% endtrans %}{% endif %}
56-
<br />
57-
58-
{% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
48+
{% include 'footer.html' ignore missing %}
5949
</div>
6050
{% endblock %}

0 commit comments

Comments
 (0)
0