diff --git a/src/components/MetaTags.astro b/src/components/MetaTags.astro index ebbc079..99a4f74 100644 --- a/src/components/MetaTags.astro +++ b/src/components/MetaTags.astro @@ -4,11 +4,13 @@ import * as config from '../config.yaml'; const { title, description, metaTitle, image } = Astro.props; +const titleFull = {(metaTitle || title) ? ((metaTitle || title) + ' | ' + config.title) : config.title} + --- -{(metaTitle || title) ? ((metaTitle || title) + ' | ' + config.title) : config.title} +{titleFull} @@ -16,13 +18,13 @@ const { title, description, metaTitle, image } = Astro.props; - + - + - \ No newline at end of file +