8000 Replace og:image with 200x200 logo (#996) · python/devguide@b62b865 · GitHub
[go: up one dir, main page]

Skip to content

Commit b62b865

Browse files
authored
Replace og:image with 200x200 logo (#996)
1 parent 86770f2 commit b62b865

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

_static/og-image-200x200.png

14.2 KB
Loading

_static/og-image.png

-47.3 KB
Binary file not shown.

conf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,11 @@
109109
# sphinxext-opengraph config
110110
ogp_site_url = "https://devguide.python.org/"
111111
ogp_site_name = "Python Developer's Guide"
112-
ogp_image = "_static/og-image.png"
112+
ogp_image = "_static/og-image-200x200.png"
113113
ogp_custom_meta_tags = [
114-
'<meta property="og:image:width" content="1200">',
115-
'<meta property="og:image:height" content="630">',
116-
'<meta name="theme-color" content="#3776ab" />',
114+
'<meta property="og:image:width" content="200">',
115+
'<meta property="og:image:height" content="200">',
116+
'<meta name="theme-color" content="#3776ab">',
117117
]
118118

119119
# Strip the dollar prompt when copying code

0 commit comments

Comments
 (0)
0