Docs HTML: Remove self-closing tags (#132220)

Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
This commit is contained in:
Hugo van Kemenade 2025-04-07 18:21:13 +03:00 committed by GitHub
parent 9a6b702f3a
commit ce724571b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 22 additions and 22 deletions

View file

@ -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">',
]