feat(glossaire): add advanced external paradigms from chapter 3
This commit is contained in:
@@ -74,16 +74,16 @@ const canonicalHref = `/glossaire/${canonicalSlug}/`;
|
||||
|
||||
<h1>{entry.data.term}</h1>
|
||||
<p><em>{entry.data.definitionShort}</em></p>
|
||||
{(entry.data.authors?.length > 0 || entry.data.tradition) && (
|
||||
{(entry.data.mobilizedAuthors?.length > 0 || entry.data.comparisonTraditions) && (
|
||||
<div class="glossary-entry-meta">
|
||||
{entry.data.authors?.length > 0 && (
|
||||
{entry.data.mobilizedAuthors?.length > 0 && (
|
||||
<p>
|
||||
<strong>Auteurs liés :</strong> {entry.data.authors.join(", ")}
|
||||
<strong>Auteurs mobilisés :</strong> {entry.data.mobilizedAuthors.join(" / ")}
|
||||
</p>
|
||||
)}
|
||||
{entry.data.tradition && (
|
||||
{entry.data.comparisonTraditions && (
|
||||
<p>
|
||||
<strong>Tradition :</strong> {entry.data.tradition}
|
||||
<strong>Traditions de comparaison :</strong> {entry.data.comparisonTraditions.join(" / ")}
|
||||
</p>
|
||||
)}
|
||||
</div>
|
||||
|
||||
@@ -144,12 +144,12 @@ const totalCount = sections.reduce((sum, section) => sum + section.items.length,
|
||||
<strong>{entry.data.term}</strong>
|
||||
<span>{entry.data.definitionShort}</span>
|
||||
|
||||
{entry.data.tradition && (
|
||||
<small>Tradition : {entry.data.tradition}</small>
|
||||
{entry.data.comparisonTraditions && (
|
||||
<small>Traditions de comparaison : {entry.data.comparisonTraditions.join(" / ")}</small>
|
||||
)}
|
||||
|
||||
{entry.data.authors?.length > 0 && (
|
||||
<small>Auteurs liés : {entry.data.authors.join(", ")}</small>
|
||||
{entry.data.mobilizedAuthors?.length > 0 && (
|
||||
<small>Auteurs mobilisés : {entry.data.mobilizedAuthors.join(" / ")}</small>
|
||||
)}
|
||||
</a>
|
||||
))}
|
||||
|
||||
@@ -68,16 +68,16 @@ const doctrines = entries
|
||||
{entry.data.term}
|
||||
</a>
|
||||
<span> — {entry.data.definitionShort}</span>
|
||||
{(entry.data.authors?.length > 0 || entry.data.tradition) && (
|
||||
{(entry.data.mobilizedAuthors?.length > 0 || entry.data.comparisonTraditions?.length > 0) && (
|
||||
<div class="glossary-portal-meta">
|
||||
{entry.data.authors?.length > 0 && (
|
||||
{entry.data.mobilizedAuthors?.length > 0 && (
|
||||
<div>
|
||||
<strong>Auteurs liés :</strong> {entry.data.authors.join(", ")}
|
||||
<strong>Auteurs mobilisés :</strong> {entry.data.mobilizedAuthors.join(" / ")}
|
||||
</div>
|
||||
)}
|
||||
{entry.data.tradition && (
|
||||
{entry.data.comparisonTraditions && (
|
||||
<div>
|
||||
<strong>Tradition :</strong> {entry.data.tradition}
|
||||
<strong>Traditions de comparaison :</strong> {entry.data.comparisonTraditions.join(" / ")}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
@@ -100,16 +100,16 @@ const doctrines = entries
|
||||
{entry.data.term}
|
||||
</a>
|
||||
<span> — {entry.data.definitionShort}</span>
|
||||
{(entry.data.authors?.length > 0 || entry.data.tradition) && (
|
||||
{(entry.data.mobilizedAuthors?.length > 0 || entry.data.comparisonTraditions?.length > 0) && (
|
||||
<div class="glossary-portal-meta">
|
||||
{entry.data.authors?.length > 0 && (
|
||||
{entry.data.mobilizedAuthors?.length > 0 && (
|
||||
<div>
|
||||
<strong>Auteurs liés :</strong> {entry.data.authors.join(", ")}
|
||||
<strong>Auteurs mobilisés :</strong> {entry.data.mobilizedAuthors.join(", ")}
|
||||
</div>
|
||||
)}
|
||||
{entry.data.tradition && (
|
||||
{entry.data.comparisonTraditions && (
|
||||
<div>
|
||||
<strong>Tradition :</strong> {entry.data.tradition}
|
||||
<strong>Traditions de comparaison :</strong> {entry.data.comparisonTraditions}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user