diff --git a/apps/server/src/core/share/share-seo.controller.ts b/apps/server/src/core/share/share-seo.controller.ts index 10eebfea..f813148a 100644 --- a/apps/server/src/core/share/share-seo.controller.ts +++ b/apps/server/src/core/share/share-seo.controller.ts @@ -73,15 +73,17 @@ export class ShareSeoController { rawTitle.length > 80 ? `${rawTitle.slice(0, 77)}…` : rawTitle; const metaTagVar = ''; - let metaTag = ''; + let metaTags = ''; + + metaTags = `\n`; if (!share.searchIndexing) { - metaTag = ''; + metaTags += '\n'; } const html = fs.readFileSync(indexFilePath, 'utf8'); const transformedHtml = html .replace(/