diff --git a/web/src/html.js b/web/src/html.js index 3cecfe259..8367814cb 100644 --- a/web/src/html.js +++ b/web/src/html.js @@ -74,12 +74,12 @@ function getCategoryMeta(path) { // Normal metadata with option to override certain values // function buildOgMetadata(overrideOptions = {}) { - const { title, description, image } = overrideOptions; + const { title, description, image, path } = overrideOptions; const cleanDescription = removeMd(description || SITE_DESCRIPTION); const head = `${SITE_TITLE}\n` + `\n` + - `\n` + + `\n` + `\n` + `\n` + `\n` + @@ -91,7 +91,6 @@ function buildOgMetadata(overrideOptions = {}) { }" />\n` + `\n` + `\n` + - `\n` + '\n' + `` + `