diff options
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/blog/[...slug].astro | 2 | ||||
| -rw-r--r-- | src/pages/blog/tags/[tag].astro | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/blog/[...slug].astro b/src/pages/blog/[...slug].astro index e0b07e9..86690c6 100644 --- a/src/pages/blog/[...slug].astro +++ b/src/pages/blog/[...slug].astro @@ -16,7 +16,7 @@ if(entry === undefined) { const { Content } = await entry.render(); --- -<Page title={entry.data.title} description={entry.data.description} pubDate={formatDate(entry.data.pubDate)}> +<Page title={entry.data.title} description={entry.data.description} pubDate={formatDate(entry.data.pubDate)} tags={entry.data.tags}> <main> <a href="/blog" class="back-link">← All articles</a> <article> diff --git a/src/pages/blog/tags/[tag].astro b/src/pages/blog/tags/[tag].astro index 31d9b94..6e32622 100644 --- a/src/pages/blog/tags/[tag].astro +++ b/src/pages/blog/tags/[tag].astro @@ -28,7 +28,7 @@ const { posts } = Astro.props; <div class="grid"> {posts && posts.map((post) => { return ( - <article class="card">> + <article class="card"> <h1><a href=`/blog/${post.frontmatter.slug}`>{post.frontmatter.title}</a></h1> <small>{formatDate(post.frontmatter.pubDate)}</small> <p>{post.frontmatter.description}</p> |
