Change publish date el to be more accessible (#1522)

This commit is contained in:
AsyncBanana 2021-10-13 16:21:35 -04:00 committed by GitHub
parent 660481444b
commit 3aafb58d60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ const { post } = Astro.props;
--- ---
<article class="post-preview"> <article class="post-preview">
<header> <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> <a href={post.url}><h1 class="title">{post.title}</h1></a>
</header> </header>
<main> <main>

View file

@ -11,7 +11,7 @@ const { title, publishDate, href } = Astro.props;
--- ---
<article class="post-preview"> <article class="post-preview">
<header> <header>
<h3 class="publish-date">{publishDate}</h3> <p class="publish-date">{publishDate}</p>
<a href={href}><h1 class="title">{title}</h1></a> <a href={href}><h1 class="title">{title}</h1></a>
</header> </header>
<main> <main>