Fix date formatting, add tags to blog header

This commit is contained in:
Cassidy Williams
2023-12-31 00:26:04 -06:00
parent 6bd8c12a22
commit 37951dcf56
5 changed files with 36 additions and 37 deletions

View File

@@ -1,9 +1,9 @@
---
const { tags } = Astro.props;
const { tags, all } = Astro.props;
---
<h3>View posts by tag</h3>
<p>
{all && <h3>View posts by tag</h3>}
<div>
{
tags &&
tags.map((tag) => (
@@ -15,4 +15,4 @@ const { tags } = Astro.props;
</>
))
}
</p>
</div>