diff options
author | 2022-08-12 22:48:10 +0000 | |
---|---|---|
committer | 2022-08-12 22:48:10 +0000 | |
commit | d4b06f9d8e5d62893743b191c6bd108fc33b7805 (patch) | |
tree | aadaacf1e36b0246db5e53df93307ef66ca98aad /examples/docs/src/components | |
parent | 5fe46d946ad2e0ab52302e92279b5e0abd6910d4 (diff) | |
download | astro-d4b06f9d8e5d62893743b191c6bd108fc33b7805.tar.gz astro-d4b06f9d8e5d62893743b191c6bd108fc33b7805.tar.zst astro-d4b06f9d8e5d62893743b191c6bd108fc33b7805.zip |
[ci] format
Diffstat (limited to 'examples/docs/src/components')
-rw-r--r-- | examples/docs/src/components/HeadSEO.astro | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/docs/src/components/HeadSEO.astro b/examples/docs/src/components/HeadSEO.astro index 298c17073..75d17bea1 100644 --- a/examples/docs/src/components/HeadSEO.astro +++ b/examples/docs/src/components/HeadSEO.astro @@ -8,7 +8,9 @@ export interface Props { const canonicalURL = new URL(Astro.url.pathname, Astro.site); const { frontmatter = {} } = Astro.props; -const formattedContentTitle = frontmatter.title ? `${frontmatter.title} 🚀 ${SITE.title}` : SITE.title; +const formattedContentTitle = frontmatter.title + ? `${frontmatter.title} 🚀 ${SITE.title}` + : SITE.title; const imageSrc = frontmatter?.image?.src ?? OPEN_GRAPH.image.src; const canonicalImageSrc = new URL(imageSrc, Astro.site); const imageAlt = frontmatter?.image?.alt ?? OPEN_GRAPH.image.alt; |