feat: SEO schema, Word Count Goals, Internal Linking targets, and Admin UI updates

This commit is contained in:
cawcenter
2025-12-12 23:36:22 -05:00
parent f6041af538
commit ad1e1705b7
8 changed files with 365 additions and 26 deletions

View File

@@ -8,6 +8,7 @@ interface Props {
globals?: Globals;
navigation?: Navigation[];
canonical?: string;
schemaJson?: Record<string, any>;
}
const {
@@ -16,7 +17,8 @@ const {
image,
globals,
navigation = [],
canonical
canonical,
schemaJson
} = Astro.props;
const siteUrl = Astro.url.origin;
@@ -63,6 +65,11 @@ const ogImage = image || globals?.logo || '';
<!-- Head Scripts -->
{globals?.scripts_head && <Fragment set:html={globals.scripts_head} />}
<!-- JSON-LD Schema -->
{schemaJson && (
<script type="application/ld+json" set:html={JSON.stringify(schemaJson)} />
)}
<!-- Styles -->
<style is:global>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');