mirror of https://gitlab.com/curben/blog
fix(open_graph): remove duplicate tags
https://github.com/hexojs/hexo/pull/3668 https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started.html
This commit is contained in:
parent
63150f5153
commit
1f9a2bc56e
|
@ -132,10 +132,6 @@ function openGraphHelper (options = {}) {
|
|||
}
|
||||
|
||||
result += meta('twitter:card', twitterCard)
|
||||
result += meta('twitter:title', title)
|
||||
if (description) {
|
||||
result += meta('twitter:description', description, false)
|
||||
}
|
||||
|
||||
if (images.length) {
|
||||
result += meta('twitter:image', images[0], false)
|
||||
|
|
Loading…
Reference in New Issue