mirror of
https://github.com/jimeh/commonflow.org.git
synced 2026-02-19 05:46:40 +00:00
Merge pull request #14 from jimeh/fix-page-title
This commit is contained in:
@@ -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;
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user