Format with prettier
This commit is contained in:
@ -26,8 +26,8 @@ const meta = {
|
||||
title: `Blog ${currentPage > 1 ? `— Page ${currentPage} ` : ''}— ${SITE.name}`,
|
||||
description: SITE.description,
|
||||
canonical: getCanonical(getPermalink(BLOG?.blog?.pathname)),
|
||||
ogType: "blog",
|
||||
noindex: currentPage > 1
|
||||
ogType: 'blog',
|
||||
noindex: currentPage > 1,
|
||||
};
|
||||
---
|
||||
|
||||
|
@ -30,7 +30,7 @@ const meta = {
|
||||
canonical: post.canonical || getCanonical(getPermalink(post.slug, 'post')),
|
||||
image: await findImage(post.image),
|
||||
ogTitle: post.title,
|
||||
ogType: "article"
|
||||
ogType: 'article',
|
||||
};
|
||||
---
|
||||
|
||||
|
@ -37,7 +37,7 @@ const currentPage = page.currentPage ?? 1;
|
||||
const meta = {
|
||||
title: `Category '${category}' ${currentPage > 1 ? `— Page ${currentPage} ` : ''}— ${SITE.name}`,
|
||||
description: SITE.description,
|
||||
canonical: getCanonical(getPermalink(category, "category")),
|
||||
canonical: getCanonical(getPermalink(category, 'category')),
|
||||
noindex: true,
|
||||
};
|
||||
---
|
||||
|
@ -37,8 +37,8 @@ const currentPage = page.currentPage ?? 1;
|
||||
const meta = {
|
||||
title: `Posts by tag '${tag}' ${currentPage > 1 ? `— Page ${currentPage} ` : ''}— ${SITE.name}`,
|
||||
description: SITE.description,
|
||||
canonical: getCanonical(getPermalink(tag, "tag")),
|
||||
noindex: true
|
||||
canonical: getCanonical(getPermalink(tag, 'tag')),
|
||||
noindex: true,
|
||||
};
|
||||
---
|
||||
|
||||
|
Reference in New Issue
Block a user