File tree 3 files changed +37
-0
lines changed
3 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 12
12
{% set dl_version = release %}
13
13
{% endif %}
14
14
15
+ {%- block extrahead -%}
16
+ {{ super() }}
17
+ < meta property ="og:title " content ="Download — Python {{ dl_version }} documentation ">
18
+ < meta property ="og:type " content ="website ">
19
+ < meta property ="og:url " content ="https://docs.python.org/3/download.html ">
20
+ < meta property ="og:site_name " content ="Python documentation ">
21
+ < meta property ="og:description " content ="Download Python documentation. ">
22
+ < meta property ="og:image " content ="https://docs.python.org/3/_static/og-image.png ">
23
+ < meta name ="description " content ="Download Python documentation. ">
24
+ < meta property ="og:image:width " content ="200 ">
25
+ < meta property ="og:image:height " content ="200 ">
26
+ < meta name ="theme-color " content ="#3776ab ">
27
+ {%- endblock -%}
28
+
15
29
{% block body %}
16
30
< h1 > {% trans %}Download Python {{ dl_version }} Documentation{% endtrans %}</ h1 >
17
31
Original file line number Diff line number Diff line change 2
2
{%- block htmltitle -%}
3
3
< title > {{ shorttitle }}</ title >
4
4
{%- endblock -%}
5
+ {%- block extrahead -%}
6
+ {{ super() }}
7
+ < meta property ="og:title " content ="Python {{ version }} documentation ">
8
+ < meta property ="og:type " content ="website ">
9
+ < meta property ="og:url " content ="https://docs.python.org/3/ ">
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 name ="description " content ="The official Python documentation. ">
14
+ < meta property ="og:image:width " content ="200 ">
15
+ < meta property ="og:image:height " content ="200 ">
16
+ < meta name ="theme-color " content ="#3776ab ">
17
+ {%- endblock -%}
5
18
{% block body %}
6
19
< h1 > {{ docstitle|e }}</ h1 >
7
20
< p >
Original file line number Diff line number Diff line change 3
3
{{ super() }}
4
4
< meta name ="robots " content ="noindex ">
5
5
< script type ="text/javascript " src ="{{ pathto('_static/glossary_search.js', resource=True) }} "> </ script >
6
+ < meta property ="og:title " content ="Search — Python {{ version }} documentation ">
7
+ < meta property ="og:type " content ="website ">
8
+ < meta property ="og:url " content ="https://docs.python.org/3/search.html ">
9
+ < meta property ="og:site_name " content ="Python documentation ">
10
+ < meta property ="og:description " content ="Search the Python documentation. ">
11
+ < meta property ="og:image " content ="https://docs.python.org/3/_static/og-image.png ">
12
+ < meta name ="description " content ="Search the Python documentation. ">
13
+ < meta property ="og:image:width " content ="200 ">
14
+ < meta property ="og:image:height " content ="200 ">
15
+ < meta name ="theme-color " content ="#3776ab ">
6
16
{% endblock %}
7
17
{% block searchresults %}
8
18
< div id ="search-results ">
You can’t perform that action at this time.
0 commit comments