diff --git a/src/components/GlossaryEntryBody.astro b/src/components/GlossaryEntryBody.astro new file mode 100644 index 0000000..46e2cc2 --- /dev/null +++ b/src/components/GlossaryEntryBody.astro @@ -0,0 +1,16 @@ +
+ {definitionShort} +
+ ++ Cette entrée a été renommée. L’intitulé canonique est : + {term}. +
+ + \ No newline at end of file diff --git a/src/components/GlossaryEntryStickySync.astro b/src/components/GlossaryEntryStickySync.astro new file mode 100644 index 0000000..b433496 --- /dev/null +++ b/src/components/GlossaryEntryStickySync.astro @@ -0,0 +1,172 @@ + + + \ No newline at end of file diff --git a/src/components/GlossaryRelationCards.astro b/src/components/GlossaryRelationCards.astro index 0f800ea..2754b49 100644 --- a/src/components/GlossaryRelationCards.astro +++ b/src/components/GlossaryRelationCards.astro @@ -30,3 +30,60 @@ const { relationBlocks = [] } = Astro.props; )} + + \ No newline at end of file diff --git a/src/pages/glossaire/[...slug].astro b/src/pages/glossaire/[...slug].astro index 4f86787..da1e32b 100644 --- a/src/pages/glossaire/[...slug].astro +++ b/src/pages/glossaire/[...slug].astro @@ -2,6 +2,10 @@ import GlossaryLayout from "../../layouts/GlossaryLayout.astro"; import GlossaryAside from "../../components/GlossaryAside.astro"; import GlossaryRelationCards from "../../components/GlossaryRelationCards.astro"; +import GlossaryEntryLegacyNote from "../../components/GlossaryEntryLegacyNote.astro"; +import GlossaryEntryHero from "../../components/GlossaryEntryHero.astro"; +import GlossaryEntryBody from "../../components/GlossaryEntryBody.astro"; +import GlossaryEntryStickySync from "../../components/GlossaryEntryStickySync.astro"; import { getCollection, render } from "astro:content"; import { getDisplayDomain, @@ -61,10 +65,6 @@ const relationBlocks = getRelationBlocks(entry, allEntries); const displayFamily = getDisplayFamily(entry); const displayDomain = getDisplayDomain(entry); const displayLevel = getDisplayLevel(entry); - -const hasScholarlyMeta = - (entry.data.mobilizedAuthors?.length ?? 0) > 0 || - (entry.data.comparisonTraditions?.length ?? 0) > 0; ---- Cette entrée a été renommée. L’intitulé canonique est : - {entry.data.term}. -
+- {entry.data.definitionShort} -
- -