--- import { ArticleData } from "@extractus/article-extractor"; import "../styles/reset.css"; import '../styles/variables.css'; import Footer from "../components/Footer.astro"; export interface Props { article: ArticleData | null } const { article } = Astro.props; const appTitle = article?.title ? `${article.title} | Cozy` : 'Cozy'; --- {appTitle} { /** * if showing a post: * - don't allow search engines to index the page * - add cozy metadata for the app to use */ article && article?.url !== '/' ? ( ) : ( ) }