diff --git a/src/app.css b/src/app.css index e577683..99d0b06 100644 --- a/src/app.css +++ b/src/app.css @@ -40,6 +40,7 @@ --shadow: theme('colors.java.800'); --name: theme('colors.java.800'); --navlink: theme('colors.eucalyptus.400'); + --series: theme('colors.sunglow.700'); } .dark { @@ -74,6 +75,7 @@ --shadow: theme('colors.java.100'); --name: theme('colors.java.300'); --navlink: theme('colors.eucalyptus.200'); + --series: theme('colors.sunglow.600'); } } diff --git a/src/content/post/placeholder2.md b/src/content/post/placeholder2.md index 356955e..ad88bb7 100644 --- a/src/content/post/placeholder2.md +++ b/src/content/post/placeholder2.md @@ -3,6 +3,6 @@ title: Placeholder 2 date: '2024-09-20' description: "This is a placeholder description" tags: ["a123"] -series: ["placeholder"] +series: ["placeholder", "another-series"] --- ## Content diff --git a/src/content/post/placeholder3.md b/src/content/post/placeholder3.md index 52bf7b5..c226705 100644 --- a/src/content/post/placeholder3.md +++ b/src/content/post/placeholder3.md @@ -1,7 +1,6 @@ --- title: Placeholder 3 date: '2024-09-24' -description: "This is a placeholder description" tags: [] series: ["placeholder"] --- diff --git a/src/lib/components/PostHeader.svelte b/src/lib/components/PostHeader.svelte index 8410440..a1da423 100644 --- a/src/lib/components/PostHeader.svelte +++ b/src/lib/components/PostHeader.svelte @@ -1,5 +1,6 @@
{seriesTag}
+ {/each} +{seriesTag}
- {/each} {#if inactive}{post.title}
{:else} {post.title} {/if} +{post.description}
+{post?.description || ""}
@@ -46,6 +57,6 @@ @apply text-3xl; } .series-tag { - color: theme('colors.sunglow.600'); + color: var(--series); }