Skip to content

Commit

Permalink
test(open_graph): add og:locale & remove twitter:title
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Aug 15, 2019
1 parent 2fe5960 commit b029921
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/scripts/helpers/open_graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ describe('open_graph', () => {
meta({property: 'og:url'}),
meta({property: 'og:site_name', content: hexo.config.title}),
meta({property: 'og:updated_time', content: post.updated.toISOString()}),
meta({name: 'twitter:card', content: 'summary'}),
meta({name: 'twitter:title', content: hexo.config.title})
meta({name: 'twitter:card', content: 'summary'})
].join('\n'));

return Post.removeById(post._id);
Expand Down

0 comments on commit b029921

Please sign in to comment.