Skip to content

Commit b1261e3

Browse files
committed
Fix ogp_custom_meta_tags type warning
1 parent d8bb086 commit b1261e3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/conf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -567,13 +567,13 @@
567567
'image': '_static/og-image.png',
568568
'line_color': '#3776ab',
569569
}
570-
ogp_custom_meta_tags = [
570+
ogp_custom_meta_tags = (
571571
'<meta name="theme-color" content="#3776ab">',
572-
]
572+
)
573573
if 'create-social-cards' not in tags: # noqa: F821
574574
# Define a static preview image when not creating social cards
575575
ogp_image = '_static/og-image.png'
576-
ogp_custom_meta_tags += [
576+
ogp_custom_meta_tags += (
577577
'<meta property="og:image:width" content="200">',
578578
'<meta property="og:image:height" content="200">',
579-
]
579+
)

0 commit comments

Comments
 (0)