Move posts to separate folder, update URLs to use slugs

This commit is contained in:
Cassidy Williams committed 2022-08-26 00:36:03 -05:00
1 parent 463ee505e8
commit 32425613cd
32 files changed
+53 -59

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ const { slug, title, tags, description, date } = Astro.props;
---
<li>
<a href={`/${slug}/`} class="title">{title}</a>
<a href={`/post/${slug}/`} class="title">{title}</a>
<time datetime={date}>
{new Date(date).toLocaleDateString('en-us', {
year: 'numeric',