Skip to content

Commit 7e7077b

Browse files
Add missing super()
1 parent 061a8f2 commit 7e7077b

File tree

2 files changed

+22
-20
lines changed

2 files changed

+22
-20
lines changed

Doc/tools/templates/download.html

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,17 @@
1313
{% endif %}
1414

1515
{%- block extrahead -%}
16-
<meta property="og:title" content="Download — Python {{ version }} documentation" />
17-
<meta property="og:type" content="website" />
18-
<meta property="og:url" content="https://docs.python.org/{{ version }}/download.html" />
19-
<meta property="og:site_name" content="Python documentation" />
20-
<meta property="og:description" content="Download the Python Documentation." />
21-
<meta property="og:image" content="https://docs.python.org/3/_static/og-image.png" />
22-
<meta property="og:image:alt" content="Python documentation" />
23-
<meta name="description" content="Download the Python Documentation." />
24-
<meta property="og:image:width" content="200" />
25-
<meta property="og:image:height" content="200" />
16+
{{ super() }}
17+
<meta property="og:title" content="Download — Python {{ version }} documentation" />
18+
<meta property="og:type" content="website" />
19+
<meta property="og:url" content="https://docs.python.org/{{ version }}/download.html" />
20+
<meta property="og:site_name" content="Python documentation" />
21+
<meta property="og:description" content="Download the Python Documentation." />
22+
<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." />
25+
<meta property="og:image:width" content="200" />
26+
<meta property="og:image:height" content="200" />
2627
{%- endblock -%}
2728

2829
{% block body %}

Doc/tools/templates/indexcontent.html

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,17 @@
33
<title>{{ shorttitle }}</title>
44
{%- endblock -%}
55
{%- block extrahead -%}
6-
<meta property="og:title" content="{{ version }} documentation" />
7-
<meta property="og:type" content="website" />
8-
<meta property="og:url" content="https://docs.python.org/{{ version }}/index.html" />
9-
<meta property="og:site_name" content="Python documentation" />
10-
<meta property="og:description" content="The official Python Documentation." />
11-
<meta property="og:image" content="https://docs.python.org/3/_static/og-image.png" />
12-
<meta property="og:image:alt" content="Python documentation" />
13-
<meta name="description" content="The official Python Documentation." />
14-
<meta property="og:image:width" content="200" />
15-
<meta property="og:image:height" content="200" />
6+
{{ super() }}
7+
<meta property="og:title" content="{{ version }} documentation" />
8+
<meta property="og:type" content="website" />
9+
<meta property="og:url" content="https://docs.python.org/{{ version }}/index.html" />
10+
<meta property="og:site_name" content="Python documentation" />
11+
<meta property="og:description" content="The official Python Documentation." />
12+
<meta property="og:image" content="https://docs.python.org/3/_static/og-image.png" />
13+
<meta property="og:image:alt" content="Python documentation" />
14+
<meta name="description" content="The official Python Documentation." />
15+
<meta property="og:image:width" content="200" />
16+
<meta property="og:image:height" content="200" />
1617
{%- endblock -%}
1718
{% block body %}
1819
<h1>{{ docstitle|e }}</h1>

0 commit comments

Comments
 (0)