Merge pull request #14 from jimeh/fix-page-title

This commit is contained in:
2026-01-13 09:58:48 +00:00
committed by GitHub

View File

@@ -11,7 +11,7 @@ interface Props {
}
const { title, description = config.description } = Astro.props;
const fullTitle = title === config.title ? title : `${title} | ${config.title}`;
const fullTitle = title.includes(config.title) ? title : `${title} | ${config.title}`;
const canonicalUrl = Astro.url.href;
---