Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions src/components/SeoGenerator/SeoGenerator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,10 @@ const SeoGenerator: FC<SeoGeneratorProps> = ({
const originalUrl =
process.env.NEXT_PUBLIC_DOMAIN + localePath + cleanURL(alternateLink);
const favIcon = `${process.env.NEXT_PUBLIC_DOMAIN}${favIconPath}`;
const pageUrl = `${process.env.NEXT_PUBLIC_DOMAIN}${router.asPath}`;
const schema = generateSchema(
title,
stripHTML(description),
pageUrl,
originalUrl,
favIcon,
createdDate,
modifiedDate,
Expand Down Expand Up @@ -290,10 +289,7 @@ const SeoGenerator: FC<SeoGeneratorProps> = ({
: ogTags?.ogImage?.data?.attributes?.staticUrl
}
/>
<meta
name="twitter:url"
content={`https://keepsimple.io/${localePath}${alternateLink}`}
/>
<meta name="twitter:url" content={originalUrl} />
<meta name="twitter:label1" content="Written by" />
<meta name="twitter:data1" content="Wolf Alexanyan" />
<script
Expand Down
Loading