Skip to content

Commit

Permalink
Fixed typo for SEO canonical url (#58)
Browse files Browse the repository at this point in the history
The canonical url field key in the SEO collection is canonical_url, not canonical alone.
  • Loading branch information
Natetronn authored Jan 7, 2024
1 parent 4658676 commit 828a227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/[...permalink].vue
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ const metadata = computed(() => {
title: pageData?.seo?.title ?? pageData?.title ?? undefined,
description: pageData?.seo?.meta_description ?? pageData?.summary ?? undefined,
image: globals.og_image ? fileUrl(globals.og_image) : undefined,
canonical: pageData?.seo?.canonical ?? url,
canonical: pageData?.seo?.canonical_url ?? url,
};
});
Expand Down

0 comments on commit 828a227

Please sign in to comment.