Skip to content

Commit

Permalink
Replace og:image with 200x200 logo (#996)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored Dec 5, 2022
1 parent 86770f2 commit b62b865
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Binary file added _static/og-image-200x200.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed _static/og-image.png
Binary file not shown.
8 changes: 4 additions & 4 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,11 @@
# sphinxext-opengraph config
ogp_site_url = "https://devguide.python.org/"
ogp_site_name = "Python Developer's Guide"
ogp_image = "_static/og-image.png"
ogp_image = "_static/og-image-200x200.png"
ogp_custom_meta_tags = [
'<meta property="og:image:width" content="1200">',
'<meta property="og:image:height" content="630">',
'<meta name="theme-color" content="#3776ab" />',
'<meta property="og:image:width" content="200">',
'<meta property="og:image:height" content="200">',
'<meta name="theme-color" content="#3776ab">',
]

# Strip the dollar prompt when copying code
Expand Down

0 comments on commit b62b865

Please sign in to comment.