Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Reapply "Remove unnecessary closing"
This reverts commit b247745.
  • Loading branch information
StanFromIreland committed Apr 7, 2025
commit 295247fb8f89653d5a85c7cd2b0f1b068ed12690
20 changes: 10 additions & 10 deletions Doc/tools/templates/download.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@

{%- block extrahead -%}
{{ super() }}
<meta property="og:title" content="Download — Python {{ version }} documentation" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://docs.python.org/{{ version }}/download.html" />
<meta property="og:site_name" content="Python documentation" />
<meta property="og:description" content="Download the Python documentation." />
<meta property="og:image" content="https://docs.python.org/3/_static/og-image.png" />
<meta property="og:image:alt" content="Python documentation" />
<meta name="description" content="Download the Python documentation." />
<meta property="og:image:width" content="200" />
<meta property="og:image:height" content="200" />
<meta property="og:title" content="Download — Python {{ version }} documentation">
Comment thread
AA-Turner marked this conversation as resolved.
Outdated
<meta property="og:type" content="website">
<meta property="og:url" content="https://docs.python.org/{{ version }}/download.html">
Comment thread
AA-Turner marked this conversation as resolved.
Outdated
<meta property="og:site_name" content="Python documentation">
<meta property="og:description" content="Download the Python documentation.">
Comment thread
AA-Turner marked this conversation as resolved.
Outdated
<meta property="og:image" content="https://docs.python.org/3/_static/og-image.png">
<meta property="og:image:alt" content="Python documentation">
Comment thread
AA-Turner marked this conversation as resolved.
Outdated
<meta name="description" content="Download the Python documentation.">
Comment thread
AA-Turner marked this conversation as resolved.
Outdated
<meta property="og:image:width" content="200">
<meta property="og:image:height" content="200">
Comment thread
AA-Turner marked this conversation as resolved.
{%- endblock -%}

{% block body %}
Expand Down
20 changes: 10 additions & 10 deletions Doc/tools/templates/indexcontent.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
{%- endblock -%}
{%- block extrahead -%}
Comment thread
StanFromIreland marked this conversation as resolved.
{{ super() }}
<meta property="og:title" content="Python {{ version }} documentation" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://docs.python.org/{{ version }}/index.html" />
<meta property="og:site_name" content="Python documentation" />
<meta property="og:description" content="The official Python documentation." />
<meta property="og:image" content="https://docs.python.org/3/_static/og-image.png" />
<meta property="og:image:alt" content="Python documentation" />
<meta name="description" content="The official Python documentation." />
<meta property="og:image:width" content="200" />
<meta property="og:image:height" content="200" />
<meta property="og:title" content="Python {{ version }} documentation">
<meta property="og:type" content="website">
<meta property="og:url" content="https://docs.python.org/{{ version }}/index.html">
Comment thread
AA-Turner marked this conversation as resolved.
Outdated
<meta property="og:site_name" content="Python documentation">
<meta property="og:description" content="The official Python documentation.">
<meta property="og:image" content="https://docs.python.org/3/_static/og-image.png">
<meta property="og:image:alt" content="Python documentation">
Comment thread
AA-Turner marked this conversation as resolved.
Outdated
<meta name="description" content="The official Python documentation.">
<meta property="og:image:width" content="200">
<meta property="og:image:height" content="200">
Comment thread
AA-Turner marked this conversation as resolved.
{%- endblock -%}
{% block body %}
<h1>{{ docstitle|e }}</h1>
Expand Down
20 changes: 10 additions & 10 deletions Doc/tools/templates/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
{{ super() }}
<meta name="robots" content="noindex">
<script type="text/javascript" src="{{ pathto('_static/glossary_search.js', resource=True) }}"></script>
<meta property="og:title" content="Search — Python {{ version }} documentation" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://docs.python.org/{{ version }}/search.html" />
<meta property="og:site_name" content="Python documentation" />
<meta property="og:description" content="Search the Python documentation." />
<meta property="og:image" content="https://docs.python.org/3/_static/og-image.png" />
<meta property="og:image:alt" content="Python documentation" />
<meta name="description" content="Search the Python documentation." />
<meta property="og:image:width" content="200" />
<meta property="og:image:height" content="200" />
<meta property="og:title" content="Search — Python {{ version }} documentation">
<meta property="og:type" content="website">
<meta property="og:url" content="https://docs.python.org/{{ version }}/search.html">
Comment thread
AA-Turner marked this conversation as resolved.
Outdated
<meta property="og:site_name" content="Python documentation">
<meta property="og:description" content="Search the Python documentation.">
<meta property="og:image" content="https://docs.python.org/3/_static/og-image.png">
<meta property="og:image:alt" content="Python documentation">
Comment thread
AA-Turner marked this conversation as resolved.
Outdated
<meta name="description" content="Search the Python documentation.">
<meta property="og:image:width" content="200">
<meta property="og:image:height" content="200">
Comment thread
AA-Turner marked this conversation as resolved.
{% endblock %}
{% block searchresults %}
<div id="search-results">
Expand Down
Loading