Skip to content

Commit f9dd1c1

Browse files
committed
meta: do not assume link as article for /post urls
1 parent 4163b32 commit f9dd1c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/meta/media-detector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default {
2323

2424
if (has_thumbnail && meta.og
2525
&& !/\/(?:videos?|player|embed)\//i.test(url) && !/https?:\/\/videos?\./i.test(url)
26-
&& (/article|blog|news|post|noticia/i.test(url)
26+
&& (/article|blog|news|noticia/i.test(url)
2727
|| (/\/(\d{4})\/(\d{2})\/(\d{2})/).test(url)
2828
|| /article|post/i.test(meta.og.type) && (!meta.ld || meta.article)
2929
|| (

0 commit comments

Comments
 (0)