diff --git a/themes/typing/scripts/openGraph.js b/themes/typing/scripts/openGraph.js index b766202..f06ecd5 100644 --- a/themes/typing/scripts/openGraph.js +++ b/themes/typing/scripts/openGraph.js @@ -45,7 +45,7 @@ function openGraphHelper (options = {}) { const keywords = page.keywords || (page.tags && page.tags.length ? page.tags : undefined) || config.keywords const title = page.title || theme.nickname const type = (this.is_post() ? 'article' : 'website') - const url = this.url + const url = this.url.replace(/index.html$/, '') const siteName = theme.nickname const twitterCard = options.twitter_card || 'summary' const published = page.date || false