📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
fixed double meta image tag for project view page
Blue Mousee9e862f84c82
diff --git a/app/components/SEO.tsx b/app/components/SEO.tsxindex 72f722f12..544b6865a 100644--- a/app/components/SEO.tsx+++ b/app/components/SEO.tsx@@ -16,6 +16,7 @@ export const SEO = () => {const isBlogPage = _startsWith(pathname, '/blog')const isMainPage = pathname === '/'+ const isProjectViewPage = _startsWith(pathname, '/projects/')const ogImageUrl = getOgImageUrl(prefixLessTitle)return (@@ -37,12 +38,13 @@ export const SEO = () => {property='og:description'content='Swetrix is a cookieless, privacy-first and GDPR-compliant Google Analytics alternative'/>- {isMainPage ? (+ {isMainPage && (<><meta name='twitter:image' content='https://swetrix.com/assets/og_image.png' /><meta property='og:image' content='https://swetrix.com/assets/og_image.png' /></>- ) : (+ )}+ {!isProjectViewPage && (<><meta name='twitter:image' content={ogImageUrl} /><meta property='og:image' content={ogImageUrl} />