diff options
author | 2021-10-13 16:21:35 -0400 | |
---|---|---|
committer | 2021-10-13 16:21:35 -0400 | |
commit | 3aafb58d60afe03f2c4fef036452451fb3f399da (patch) | |
tree | 8b10f359699b93fab24eaed3b64127ccc3bfe35f | |
parent | 660481444b7f6ca540771d1aa70a27346db8554f (diff) | |
download | astro-3aafb58d60afe03f2c4fef036452451fb3f399da.tar.gz astro-3aafb58d60afe03f2c4fef036452451fb3f399da.tar.zst astro-3aafb58d60afe03f2c4fef036452451fb3f399da.zip |
Change publish date el to be more accessible (#1522)
-rw-r--r-- | examples/blog/src/components/BlogPostPreview.astro | 2 | ||||
-rw-r--r-- | www/src/components/BlogPostPreview.astro | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/blog/src/components/BlogPostPreview.astro b/examples/blog/src/components/BlogPostPreview.astro index 9e698fb6e..0451a8c57 100644 --- a/examples/blog/src/components/BlogPostPreview.astro +++ b/examples/blog/src/components/BlogPostPreview.astro @@ -7,7 +7,7 @@ const { post } = Astro.props; --- <article class="post-preview"> <header> - <h3 class="publish-date">{post.publishDate}</h3> + <p class="publish-date">{post.publishDate}</p> <a href={post.url}><h1 class="title">{post.title}</h1></a> </header> <main> diff --git a/www/src/components/BlogPostPreview.astro b/www/src/components/BlogPostPreview.astro index 235ca6371..fc99d877a 100644 --- a/www/src/components/BlogPostPreview.astro +++ b/www/src/components/BlogPostPreview.astro @@ -11,7 +11,7 @@ const { title, publishDate, href } = Astro.props; --- <article class="post-preview"> <header> - <h3 class="publish-date">{publishDate}</h3> + <p class="publish-date">{publishDate}</p> <a href={href}><h1 class="title">{title}</h1></a> </header> <main> |