File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import Image from "next/image";
66export function BlogCard ( { post, locale } : { post : BlogPost ; locale : string } ) {
77 return (
88 < I18nLink
9- href = { `/blogs/ ${ post . slug } ` }
9+ href = { `/blogs${ post . slug } ` }
1010 prefetch = { false }
1111 className = "bg-transparent rounded-lg hover:underline"
1212 >
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ export async function generateMetadata({
3030 description : "Page not found" ,
3131 noIndex : true ,
3232 locale : locale as Locale ,
33- path : `/blogs/ ${ slug } ` ,
34- canonicalUrl : `/blogs/ ${ slug } ` ,
33+ path : `/blogs${ slug } ` ,
34+ canonicalUrl : `/blogs${ slug } ` ,
3535 } ) ;
3636 }
3737
@@ -41,8 +41,8 @@ export async function generateMetadata({
4141 description : post . description ,
4242 images : post . image ? [ post . image ] : [ ] ,
4343 locale : locale as Locale ,
44- path : `/blogs/ ${ slug } ` ,
45- canonicalUrl : `/blogs/ ${ slug } ` ,
44+ path : `/blogs${ slug } ` ,
45+ canonicalUrl : `/blogs${ slug } ` ,
4646 } ) ;
4747}
4848
You can’t perform that action at this time.
0 commit comments