summaryrefslogtreecommitdiff
path: root/www/src/components/BlogPostPreview.astro
diff options
context:
space:
mode:
authorGravatar AsyncBanana <58297401+AsyncBanana@users.noreply.github.com> 2021-10-18 13:33:13 -0400
committerGravatar GitHub <noreply@github.com> 2021-10-18 19:33:13 +0200
commite9c377b84a2de02a448260aedb94f92fffa96047 (patch)
tree5145c34865d2b32d440c4ea366e74ec54ebab598 /www/src/components/BlogPostPreview.astro
parent3e51037262fd529961acccb199c4ce29a0ee2e33 (diff)
downloadastro-e9c377b84a2de02a448260aedb94f92fffa96047.tar.gz
astro-e9c377b84a2de02a448260aedb94f92fffa96047.tar.zst
astro-e9c377b84a2de02a448260aedb94f92fffa96047.zip
Made blog index landmark elements more accessible (#1578)
* Made blog index landmark elements more accessible * Fixed CSS * Hopefully the CSS actually works now
Diffstat (limited to 'www/src/components/BlogPostPreview.astro')
-rw-r--r--www/src/components/BlogPostPreview.astro4
1 files changed, 1 insertions, 3 deletions
diff --git a/www/src/components/BlogPostPreview.astro b/www/src/components/BlogPostPreview.astro
index fc99d877a..8ec716736 100644
--- a/www/src/components/BlogPostPreview.astro
+++ b/www/src/components/BlogPostPreview.astro
@@ -14,9 +14,7 @@ const { title, publishDate, href } = Astro.props;
<p class="publish-date">{publishDate}</p>
<a href={href}><h1 class="title">{title}</h1></a>
</header>
- <main>
- <slot />{' '}<a href={href}>Read more →</a>
- </main>
+ <slot />{' '}<a href={href}>Read more →</a>
</article>
<style>