Skip to content

Commit f1fefda

Browse files
authored
Use positive filtering to add custom tags only to HTML build
1 parent f8240ce commit f1fefda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@
635635
'image': '_static/og-image.png',
636636
'line_color': '#3776ab',
637637
}
638-
if 'epub' not in tags: # noqa: F821
638+
if 'builder_html' in tags: # noqa: F821
639639
ogp_custom_meta_tags = [
640640
'<meta name="theme-color" content="#3776ab">',
641641
]

0 commit comments

Comments
 (0)