File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 630630 'image' : '_static/og-image.png' ,
631631 'line_color' : '#3776ab' ,
632632}
633- ogp_custom_meta_tags = [
634- '<meta name="theme-color" content="#3776ab">' ,
635- ]
636633if 'create-social-cards' not in tags : # noqa: F821
637634 # Define a static preview image when not creating social cards
638635 ogp_image = '_static/og-image.png'
639- ogp_custom_meta_tags + = [
636+ ogp_custom_meta_tags = [
640637 '<meta property="og:image:width" content="200">' ,
641638 '<meta property="og:image:height" content="200">' ,
642639 ]
Original file line number Diff line number Diff line change 3131 < script defer data-domain ="docs.python.org " src ="https://analytics.python.org/js/script.outbound-links.js "> </ script >
3232 {% endif %}
3333 < link rel ="canonical " href ="https://docs.python.org/3/{{pagename}}.html ">
34+ < meta name ="theme-color " content ="#3776ab ">
3435 {% if pagename == 'whatsnew/changelog' and not embedded %}
3536 < script type ="text/javascript " src ="{{ pathto('_static/changelog_search.js', 1) }} "> </ script > {% endif %}
3637 {% endif %}
You can’t perform that action at this time.
0 commit comments