--- // fonts are self-hosted (no Google Fonts request; works with Brave Shields and offline) import '@fontsource/noto-naskh-arabic/400.css'; import '@fontsource/noto-naskh-arabic/700.css'; import '@fontsource/noto-nastaliq-urdu/400.css'; import '@fontsource/noto-nastaliq-urdu/700.css'; import '../styles/global.css'; interface Props { title?: string; description?: string; q?: string; author?: string; jsonld?: object; ogType?: string } // author and jsonld describe a work for search engines and the browser's own reader view const { title, description = 'اردو کا کلاسیکی ادب', q = '', author, jsonld, ogType = 'website' } = Astro.props; // one address per page for search engines: the public origin, no query (?hl=, ?font=, ?kind= are views of the same page) const canonical = siteUrl(Astro.url) + Astro.url.pathname; const fullTitle = title ? `${title} · ${brand.name}` : `${brand.name} · ${brand.tagline}`; import Icon from '../components/Icon.astro'; import logo from '../../public/logo/turanj.svg?raw'; // inline, so the page can turn its rays import { brand } from '../lib/brand'; import { siteUrl } from '../lib/site-url'; ---