From d4b06f9d8e5d62893743b191c6bd108fc33b7805 Mon Sep 17 00:00:00 2001 From: bholmesdev Date: Fri, 12 Aug 2022 22:48:10 +0000 Subject: [PATCH] [ci] format --- examples/docs/src/components/HeadSEO.astro | 4 +++- examples/docs/src/layouts/MainLayout.astro | 4 +++- 2 files changed, 6 insertions(+), 2 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; diff --git a/examples/docs/src/layouts/MainLayout.astro b/examples/docs/src/layouts/MainLayout.astro index 2554a416c..5b35aee18 100644 --- a/examples/docs/src/layouts/MainLayout.astro +++ b/examples/docs/src/layouts/MainLayout.astro @@ -18,7 +18,9 @@ const githubEditUrl = CONFIG.GITHUB_EDIT_URL && CONFIG.GITHUB_EDIT_URL + current - {frontmatter.title ? `${frontmatter.title} 🚀 ${CONFIG.SITE.title}` : CONFIG.SITE.title} + + {frontmatter.title ? `${frontmatter.title} 🚀 ${CONFIG.SITE.title}` : CONFIG.SITE.title} +