diff --git a/layout/common/head.jsx b/layout/common/head.jsx index 2c1c093..ab509c9 100644 --- a/layout/common/head.jsx +++ b/layout/common/head.jsx @@ -118,7 +118,7 @@ module.exports = class extends Component { author={open_graph.author || config.author} description={open_graph.description || page.description || page.excerpt || page.content || config.description} keywords={page.keywords || (page.tags && page.tags.length ? page.tags : undefined) || config.keywords} - url={open_graph.url || url} + url={open_graph.url || page.permalink || url} images={openGraphImages} siteName={open_graph.site_name || config.title} language={language} diff --git a/package.json b/package.json index e51acd5..724660d 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "bulma-stylus": "0.8.0", "deepmerge": "^4.2.2", "hexo": "^4.2.0", - "hexo-component-inferno": "^0.2.3", + "hexo-component-inferno": "^0.2.4", "hexo-log": "^1.0.0", "hexo-pagination": "^1.0.0", "hexo-renderer-inferno": "^0.1.3",