Better SEO
This commit is contained in:
@ -26,6 +26,7 @@ const meta = {
|
||||
title: `Blog ${currentPage > 1 ? `— Page ${currentPage} ` : ''}— ${SITE.name}`,
|
||||
description: SITE.description,
|
||||
canonical: getCanonical(getPermalink(page.url.current)),
|
||||
ogType: "blog"
|
||||
};
|
||||
---
|
||||
|
||||
|
@ -29,6 +29,8 @@ const meta = {
|
||||
description: post.description,
|
||||
canonical: post.canonical || getCanonical(getPermalink(post.slug, 'post')),
|
||||
image: await findImage(post.image),
|
||||
ogTitle: post.title,
|
||||
ogType: "article"
|
||||
};
|
||||
---
|
||||
|
||||
|
Reference in New Issue
Block a user