Skip to content

Commit fe73c1c

Browse files
authored
Fix all meta (#29)
* del image type
1 parent 9073228 commit fe73c1c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/layouts/BaseLayout.astro

+1-3
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@ interface Props {
1414
featuredImage: string;
1515
imageWidth: string;
1616
imageHeight: string;
17-
imageType?: string;
1817
}
1918
20-
const { title, description, featuredImage, imageWidth, imageHeight, imageType} = Astro.props;
19+
const { title, description, featuredImage, imageWidth, imageHeight} = Astro.props;
2120
const titlePrefix = "defguard enterprise open-source SSO&VPN with 2FA/MFA";
2221
2322
const mainTitle = title.trim() == "" ? titlePrefix : titlePrefix + ": " + title;
@@ -34,7 +33,6 @@ const _imageType = imageType ? imageType : "image/png";
3433
<meta property="og:title" content={mainTitle} />
3534
<meta property="og:description" content={description} />
3635
<meta property="og:image" content={featuredImage} />
37-
<meta property="og:image:type" content={_imageType} />
3836
<meta property="og:image:width" content={imageWidth} />
3937
<meta property="og:image:height" content={imageHeight} />
4038
<!-- FIXME: USE LOCAL -->

0 commit comments

Comments
 (0)