Change publish date el to be more accessible (#1522)
This commit is contained in:
parent
660481444b
commit
3aafb58d60
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue