Update posts by tag, fix ul styling

This commit is contained in:
Cassidy Williams
2023-01-26 23:40:45 -06:00
parent a9097ab84f
commit 77d762b196
8 changed files with 59 additions and 36 deletions

View File

@@ -3,6 +3,11 @@ import BaseHead from "../components/BaseHead.astro";
import Header from "../components/Header.astro";
import Footer from "../components/Footer.astro";
import ColorScript from "../components/ColorScript.astro";
import Tags from "../components/Tags.astro";
import getTags from "../scripts/getTags";
const posts = await Astro.glob("../posts/*.md");
const tags = getTags(posts);
const {
content: { title, description, added, updatedDate, heroImage },
@@ -30,6 +35,7 @@ const {
<slot />
</article>
</main>
<Tags tags={tags} />
<Footer />
<ColorScript />
</body>