8000 Add newlines to make if blocks clear · frazesen/python-docs-theme@5c6c0b4 · GitHub
[go: up one dir, main page]

Skip to content
Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5c6c0b4

Browse files
committed
Add newlines to make if blocks clear
1 parent fe6a243 commit 5c6c0b4

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

python_docs_theme/layout.html

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,24 @@ <h3>{{ _('Navigation') }}</h3>
136136

137137
{% block footer %}
138138
<div class="footer">
139-
&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 }}.
139+
&copy; {% if theme_copyright_url or hasdoc('copyright') %}
140+
<a href="{% if theme_copyright_url %}{{ theme_copyright_url }}{% else %}{{ pathto('copyright') }}{% endif %}">
141+
{% endif %}
142+
{% trans %}Copyright{% endtrans %}
143+
{% if theme_copyright_url or hasdoc('copyright') %}
144+
</a>
145+
{% endif %} {{ copyright|e }}.
140146
<br />
141147
{% trans %}This page is licensed under the Python Software Foundation License Version 2.{% endtrans %}
142148
<br />
143149
{% trans %}Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.{% endtrans %}
144150
<br />
145-
{% 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 %}{% trans hosted_on=theme_hosted_on %}Hosted on {{ hosted_on }}.{% endtrans %}<br />{% endif %}
151+
{% if theme_license_url %}
152+
{% trans license_file=theme_license_url %}See <a href="{{ license_file }}">History and License</a> for more information.{% endtrans %}<br />
153+
{% endif %}
154+
{% if theme_hosted_on %}
155+
{% trans hosted_on=theme_hosted_on %}Hosted on {{ hosted_on }}.{% endtrans %}<br />
156+
{% endif %}
147157
<br />
148158

149159
{% include "footerdonate.html" %}
@@ -152,7 +162,9 @@ <h3>{{ _('Navigation') }}</h3>
152162
{%- if last_updated %}
153163
{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
154164
{%- endif %}
155-
{% if theme_issues_url %}{% trans %}<a href="{{ theme_issues_url }}">Found a bug</a>?{% endtrans %}{% endif %}
165+
{% if theme_issues_url %}
166+
{% trans %}<a href="{{ theme_issues_url }}">Found a bug</a>?{% endtrans %}
167+
{% endif %}
156168
<br />
157169

158170
{% trans sphinx_version=sphinx_version|e %}Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}

0 commit comments

Comments
 (0)
0