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 86316dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/scripts/helpers/open_graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ describe('open_graph', () => {
meta({property: 'og:title', content: hexo.config.title}),
meta({property: 'og:url'}),
meta({property: 'og:site_name', content: hexo.config.title}),
meta({property: 'og:locale', content: hexo.config.language}),
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 86316dd

Please sign in to comment.