--- import themeConfig from '@/config' interface Props { postTitle?: string postDescription?: string postImage?: string } const { postTitle, postDescription, postImage } = Astro.props const { title, subtitle, description, author, url, favicon } = themeConfig.site const { light: { backgroundStart: lightMode }, dark: { backgroundStart: darkMode } } = themeConfig.color const { language } = themeConfig.global const { verification = {}, twitterID = '', facebookID = '', facebookLink = '', googleAnalyticsID = '', umamiAnalyticsID = '', siteScreenshot = '' } = themeConfig.seo ?? {} const { google = '', bing = '', yandex = '', baidu = '' } = verification const { cdn, commentURL = '', imageHostURL = '', customGoogleAnalyticsURL = '', customUmamiAnalyticsURL = '', customUmamiAnalyticsJS = '' } = themeConfig.preload --- {favicon.toLowerCase().endsWith('.webp') && } {favicon.toLowerCase().endsWith('.svg') && } {favicon.toLowerCase().endsWith('.png') && } {postTitle ? `${postTitle} - ${title}` : `${title} - ${subtitle}`} {commentURL && } {imageHostURL && } {customGoogleAnalyticsURL && } {customUmamiAnalyticsURL && } {twitterID && ( <> )} {google && } {bing && } {yandex && } {baidu && } { googleAnalyticsID && ( <> ) } { umamiAnalyticsID && (