--- export interface Props { title: string; description?: string; schema?: string; image?: string; date?: string; slug?: string; ogType?: string; } const { title, description = '', schema = '', image = '', date = '', slug = '', ogType = 'article', } = Astro.props; const baseUrl = 'https://нейросети.рус'; const pageUrl = slug ? `${baseUrl}/${slug}/` : baseUrl; const ogImage = image || `${baseUrl}/og-image.svg`; const articleSchema = slug ? JSON.stringify({ "@context": "https://schema.org", "@type": "Article", "headline": title, "description": description || title, "datePublished": date || new Date().toISOString().split('T')[0], "image": image || undefined, "url": `${baseUrl}/${slug}/`, "author": { "@type": "Person", "name": "Никита Тарасов" }, "publisher": { "@type": "Organization", "name": "нейросети.рус" } }) : ''; const orgSchema = JSON.stringify({ "@context": "https://schema.org", "@type": "Organization", "name": "нейросети.рус", "url": baseUrl, "description": "Витрина реальных результатов локальных open-source нейросетей: текст, графика, аудио, видео", "sameAs": [ "https://tarasov.top", ], }); --- {title} {articleSchema && }