Add tags pages

This commit is contained in:
Cassidy Williams
2022-09-01 16:02:14 -05:00
parent 32425613cd
commit 9618162bae
2 changed files with 87 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ const { slug, title, tags, description, date } = Astro.props;
<ul>
{tags && tags.map(tag => (
<li class="tag">
<div>{tag}</div>
<a href={`/tag/${tag}`}>{tag}</a>
</li>
))}
</ul>