Fix issue #55 Trailing Slash
This commit is contained in:
@ -25,7 +25,7 @@ const currentPage = page.currentPage ?? 1;
|
||||
const meta = {
|
||||
title: `Blog ${currentPage > 1 ? `— Page ${currentPage} ` : ''}— ${SITE.name}`,
|
||||
description: SITE.description,
|
||||
canonical: getCanonical(getPermalink(page.url.current)),
|
||||
canonical: getCanonical(getPermalink(BLOG?.blog?.pathname)),
|
||||
ogType: "blog",
|
||||
noindex: currentPage > 1
|
||||
};
|
||||
|
Reference in New Issue
Block a user