Skip to content

Commit

Permalink
[3.12] Remove superflous whitespaces in layout.html. (pythonGH-107251)
Browse files Browse the repository at this point in the history
Remove superflous whitespaces in layout.html.
(cherry picked from commit 313284a)

Co-authored-by: Ezio Melotti <[email protected]>
  • Loading branch information
ezio-melotti authored and miss-islington committed Jul 25, 2023
1 parent db03cb9 commit d92559a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Doc/tools/templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
{%- if outdated %}
<div id="outdated-warning" style="padding: .5em; text-align: center; background-color: #FFBABA; color: #6A0E0E;">
{% trans %}This document is for an old version of Python that is no longer supported.
You should upgrade, and read the {% endtrans %}
<a href="/3/{{ pagename }}{{ file_suffix }}">{% trans %} Python documentation for the current stable release{% endtrans %}</a>.
You should upgrade, and read the{% endtrans %}
<a href="/3/{{ pagename }}{{ file_suffix }}">{% trans %}Python documentation for the current stable release{% endtrans %}</a>.
</div>
{%- endif %}

{%- if is_deployment_preview %}
<div id="deployment-preview-warning" style="padding: .5em; text-align: center; background-color: #fff2ba; color: #6a580e;">
{% trans %}This is a deploy preview created from a <a href="{{ repository_url }}/pull/{{ pr_id }}">pull request</a>.
For authoritative documentation, see the {% endtrans %}
<a href="https://docs.python.org/3/{{ pagename }}{{ file_suffix }}">{% trans %} the current stable release{% endtrans %}</a>.
For authoritative documentation, see{% endtrans %}
<a href="https://docs.python.org/3/{{ pagename }}{{ file_suffix }}">{% trans %}the current stable release{% endtrans %}</a>.
</div>
{%- endif %}
{% endblock %}
Expand Down

0 comments on commit d92559a

Please sign in to comment.