Skip to content

Commit 9dcdb8d

Browse files
authored
Apply suggestions from code review
1 parent 295247f commit 9dcdb8d

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

Doc/tools/templates/download.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@
1414

1515
{%- block extrahead -%}
1616
{{ super() }}
17-
<meta property="og:title" content="Download — Python {{ version }} documentation">
17+
<meta property="og:title" content="Download — Python {{ dl_version }} documentation">
1818
<meta property="og:type" content="website">
19-
<meta property="og:url" content="https://docs.python.org/{{ version }}/download.html">
19+
<meta property="og:url" content="https://docs.python.org/3/download.html">
2020
<meta property="og:site_name" content="Python documentation">
21-
<meta property="og:description" content="Download the Python documentation.">
21+
<meta property="og:description" content="Download Python documentation.">
2222
<meta property="og:image" content="https://docs.python.org/3/_static/og-image.png">
23-
<meta property="og:image:alt" content="Python documentation">
24-
<meta name="description" content="Download the Python documentation.">
23+
<meta name="description" content="Download Python documentation.">
2524
<meta property="og:image:width" content="200">
2625
<meta property="og:image:height" content="200">
26+
<meta name="theme-color" content="#3776ab">
2727
{%- endblock -%}
2828

2929
{% block body %}

Doc/tools/templates/indexcontent.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
{{ super() }}
77
<meta property="og:title" content="Python {{ version }} documentation">
88
<meta property="og:type" content="website">
9-
<meta property="og:url" content="https://docs.python.org/{{ version }}/index.html">
9+
<meta property="og:url" content="https://docs.python.org/3/">
1010
<meta property="og:site_name" content="Python documentation">
1111
<meta property="og:description" content="The official Python documentation.">
1212
<meta property="og:image" content="https://docs.python.org/3/_static/og-image.png">
13-
<meta property="og:image:alt" content="Python documentation">
1413
<meta name="description" content="The official Python documentation.">
1514
<meta property="og:image:width" content="200">
1615
<meta property="og:image:height" content="200">
16+
<meta name="theme-color" content="#3776ab">
1717
{%- endblock -%}
1818
{% block body %}
1919
<h1>{{ docstitle|e }}</h1>

Doc/tools/templates/search.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
<script type="text/javascript" src="{{ pathto('_static/glossary_search.js', resource=True) }}"></script>
66
<meta property="og:title" content="Search — Python {{ version }} documentation">
77
<meta property="og:type" content="website">
8-
<meta property="og:url" content="https://docs.python.org/{{ version }}/search.html">
8+
<meta property="og:url" content="https://docs.python.org/3/search.html">
99
<meta property="og:site_name" content="Python documentation">
1010
<meta property="og:description" content="Search the Python documentation.">
1111
<meta property="og:image" content="https://docs.python.org/3/_static/og-image.png">
12-
<meta property="og:image:alt" content="Python documentation">
1312
<meta name="description" content="Search the Python documentation.">
1413
<meta property="og:image:width" content="200">
1514
<meta property="og:image:height" content="200">
15+
<meta name="theme-color" content="#3776ab">
1616
{% endblock %}
1717
{% block searchresults %}
1818
<div id="search-results">

0 commit comments

Comments
 (0)