--- import { stripHtml } from '@/utils/htmlhelpers'; import Author from '@components/AuthorDisplay.astro'; import Subscribe from '@components/SubscribePost.astro'; import ShareButtons from '@components/ShareButtons.astro'; interface Props { post: any; pageInfo?: any; } const { post, pageInfo } = Astro.props; --- {post ? (

{post.title}

{post.secondaryTitle &&

{post.secondaryTitle}

} {post.featuredImage?.node?.sourceUrl && ( )} {post.content &&
}
) : (
Новость не найдена
)}