Set default titleTemplate
This commit is contained in:
@ -22,7 +22,7 @@ const { page } = Astro.props;
|
||||
const currentPage = page.currentPage ?? 1;
|
||||
|
||||
const meta = {
|
||||
title: `Blog ${currentPage > 1 ? `— Page ${currentPage} ` : ''}— ${SITE.name}`,
|
||||
title: `Blog${currentPage > 1 ? ` — Page ${currentPage}` : ''}`,
|
||||
description: SITE.description,
|
||||
canonical: getCanonical(getPermalink(BLOG?.blog?.pathname)),
|
||||
ogType: 'blog',
|
||||
|
@ -25,7 +25,7 @@ const { post } = Astro.props;
|
||||
const url = getCanonical(getPermalink(post.slug, 'post'));
|
||||
|
||||
const meta = {
|
||||
title: `${post.title} — ${SITE.name}`,
|
||||
title: post.title,
|
||||
description: post.description,
|
||||
canonical: post.canonical || url,
|
||||
image: await findImage(post.image),
|
||||
|
Reference in New Issue
Block a user