Skip to content

Commit

Permalink
Add back the description to slash pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarty committed Feb 14, 2025
1 parent 47b6d82 commit ce61306
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/pages/[...id].astro
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,17 @@ const toc = headings.filter((heading) => heading.depth === 2)
---

<RootLayout {title} {description}>
<div class="space-y-2 pb-8 sm:pb-12 md:pb-20 pt-6 md:space-y-5">
<div class="pb-8 sm:pb-12 md:pb-20 pt-6">
<h2
class="text-3xl font-extrabold leading-9 tracking-tight text-gray-900 dark:text-primary-100 sm:text-4xl sm:leading-10 md:text-6xl md:leading-14"
>
{title}
</h2>
<p
class="pt-2 md:pt-4 prose text-pretty text-lg leading-7 text-gray-500 dark:text-gray-300"
>
{description}
</p>

<div class="pt-8 sm:pt-12 md:pt-20">
<ul class="lg:flex justify-center gap-4">
Expand Down

0 comments on commit ce61306

Please sign in to comment.