astro-tractstack 2.0.0-rc.42 → 2.0.0-rc.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -85,13 +85,12 @@ const defaultSocialDesc =
|
|
|
85
85
|
description ||
|
|
86
86
|
brandConfig.OGDESC ||
|
|
87
87
|
`No-code website builder and content marketing platform`;
|
|
88
|
-
const
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
const socialLogoWithVersion = `${defaultSocialLogoURL}?v=${buildVersion}`;
|
|
88
|
+
const socialImageFullURL = brandConfig?.SITE_URL
|
|
89
|
+
? `${brandConfig.SITE_URL.replace(/\/$/, '')}${defaultSocialImageURL}`
|
|
90
|
+
: `${defaultSocialImageURL}`;
|
|
91
|
+
const socialLogoFullURL = brandConfig?.SITE_URL
|
|
92
|
+
? `${brandConfig.SITE_URL.replace(/\/$/, '')}${defaultSocialLogoURL}`
|
|
93
|
+
: `${defaultSocialLogoURL}`;
|
|
95
94
|
const gtagId = brandConfig?.GTAG || false;
|
|
96
95
|
const gtagUrl =
|
|
97
96
|
typeof gtagId === `string` && gtagId.length > 1
|
|
@@ -144,14 +143,14 @@ const enableBunny = import.meta.env.PUBLIC_ENABLE_BUNNY === 'true';
|
|
|
144
143
|
<meta property="og:type" content="website" />
|
|
145
144
|
<meta property="og:description" content={defaultSocialDesc} />
|
|
146
145
|
<meta property="og:url" content={fullCanonicalUrl} />
|
|
147
|
-
<meta property="og:image" content={
|
|
148
|
-
<meta property="og:logo" content={
|
|
146
|
+
<meta property="og:image" content={socialImageFullURL} />
|
|
147
|
+
<meta property="og:logo" content={socialLogoFullURL} />
|
|
149
148
|
|
|
150
149
|
<meta property="twitter:card" content="summary_large_image" />
|
|
151
150
|
<meta property="twitter:url" content={fullCanonicalUrl} />
|
|
152
151
|
<meta property="twitter:title" content={defaultSocialTitle} />
|
|
153
152
|
<meta property="twitter:description" content={defaultSocialDesc} />
|
|
154
|
-
<meta property="twitter:image" content={
|
|
153
|
+
<meta property="twitter:image" content={socialImageFullURL} />
|
|
155
154
|
|
|
156
155
|
{
|
|
157
156
|
pubDatetime && (
|