8000 gh-130521: Add meta tags for template pages by StanFromIreland · Pull Request #130523 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-130521: Add meta tags for template pages #130523

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Apr 7, 2025
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
Apply suggestions from code review
  • Loading branch information
AA-Turner authored Apr 7, 2025
commit 9dcdb8d69e67594e7082aec88c9258d1f7eccf66
10 changes: 5 additions & 5 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:title" content="Download — Python {{ dl_version }} documentation">
<meta property="og:type" content="website">
<meta property="og:url" content="https://docs.python.org/{{ version }}/download.html">
<meta property="og:url" content="https://docs.python.org/3/download.html">
<meta property="og:site_name" content="Python documentation">
<meta property="og:description" content="Download the Python documentation.">
<meta property="og:description" content="Download 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=&q 8000 uot;Download the Python documentation.">
<meta name="description" content="Download Python documentation.">
<meta property="og:image:width" content="200">
<meta property="og:image:height" content="200">
<meta name="theme-color" content="#3776ab">
{%- endblock -%}

{% block body %}
Expand Down
4 changes: 2 additions & 2 deletions Doc/tools/templates/indexcontent.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
{{ 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:url" content="https://docs.python.org/3/">
<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 name="theme-color" content="#3776ab">
{%- endblock -%}
{% block body %}
<h1>{{ docstitle|e }}</h1>
Expand Down
4 changes: 2 additions & 2 deletions Doc/tools/templates/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
<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:url" content="https://docs.python.org/3/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 name="theme-color" content="#3776ab">
{% endblock %}
{% block searchresults %}
<div id="search-results">
Expand Down
Loading
0