Skip to content

Commit

Permalink
fix(blog): add alt text to post cover image
Browse files Browse the repository at this point in the history
  • Loading branch information
Yukaii committed Jul 3, 2024
1 parent ec01f4c commit ab0124f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pages/blog/[year]/[month]/[day]/[slug].js
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ export default function Post({
{meta?.image && (
<div className="container px-3 pt-4 pb-1">
<img
alt="Cover image"
src={meta?.image}
style={{ maxWidth: '100%', borderRadius: 6 }}
/>
Expand Down

0 comments on commit ab0124f

Please sign in to comment.