Skip to content

Commit

Permalink
test(open_graph): no page.updated by default
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Jun 21, 2020
1 parent f8bbd71 commit db55fc7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/scripts/helpers/open_graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ describe('open_graph', () => {
meta({property: 'og:site_name', content: hexo.config.title}),
meta({property: 'og:locale', content: 'en_US'}),
meta({property: 'article:published_time', content: post.date.toISOString()}),
meta({property: 'article:modified_time', content: post.updated.toISOString()}),
// page.updated will no longer exist by default
// See https://github.com/hexojs/hexo/pull/4278
// meta({property: 'article:modified_time', content: post.updated.toISOString()}),
meta({property: 'article:author', content: hexo.config.author}),
meta({property: 'article:tag', content: 'optimize'}),
meta({property: 'article:tag', content: 'web'}),
Expand Down

0 comments on commit db55fc7

Please sign in to comment.