--- import '../../styles/reset.css'; import '../../styles/blog.css'; import { SITE_TITLE, SITE_AUTHOR, SITE_DESCRIPTION } from '../../consts'; interface Props { title: string; description: string; isArticle?: boolean; image?: string; } let {isArticle = false, title, description = 'default description', image = '/cozy.jpg' } = Astro.props; description = title === SITE_TITLE ? SITE_DESCRIPTION : `${SITE_TITLE} • ${description}` --- {title} • {description} { isArticle ? : }