Unverified Commit 0472f0fa authored by Sofya Tuymedova's avatar Sofya Tuymedova Committed by GitHub

Fix image link (#27323)

parent 2a282a40
...@@ -21,7 +21,7 @@ export default function CoverImage({ title, slug, image: source }) { ...@@ -21,7 +21,7 @@ export default function CoverImage({ title, slug, image: source }) {
return ( return (
<div className="sm:mx-0"> <div className="sm:mx-0">
{slug ? ( {slug ? (
<Link href={slug}> <Link href={`/posts/${slug}`}>
<a aria-label={title}>{image}</a> <a aria-label={title}>{image}</a>
</Link> </Link>
) : ( ) : (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment