From e8082a0680522c99b4787a1fd73e7f80fa327cef Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Tue, 22 Apr 2025 14:28:36 +0100 Subject: [PATCH] add meta og:title --- apps/server/src/core/share/share-seo.controller.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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(/