mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
Docs HTML: Remove self-closing tags (#132220)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
This commit is contained in:
parent
9a6b702f3a
commit
ce724571b3
4 changed files with 22 additions and 22 deletions
|
|
@ -631,12 +631,12 @@ ogp_social_cards = { # Used when matplotlib is installed
|
|||
'line_color': '#3776ab',
|
||||
}
|
||||
ogp_custom_meta_tags = [
|
||||
'<meta name="theme-color" content="#3776ab" />',
|
||||
'<meta name="theme-color" content="#3776ab">',
|
||||
]
|
||||
if 'create-social-cards' not in tags: # noqa: F821
|
||||
# Define a static preview image when not creating social cards
|
||||
ogp_image = '_static/og-image.png'
|
||||
ogp_custom_meta_tags += [
|
||||
'<meta property="og:image:width" content="200" />',
|
||||
'<meta property="og:image:height" content="200" />',
|
||||
'<meta property="og:image:width" content="200">',
|
||||
'<meta property="og:image:height" content="200">',
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue