Skip to content

Commit 8f02035

Browse files
committed
Fix wrong OpenGraph image name issue.
1 parent 32c8326 commit 8f02035

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/templates/Blog.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const Blog: React.FC<BlogProps> = (props) => {
5353
const { site } = layoutProps;
5454
const progressBarTarget = React.createRef<HTMLDivElement>();
5555
const parsedDate = new Date(Date.parse(date));
56-
const SeoBanner = `/opengraph-images/${slugify(title)}.png`;
56+
const SeoBanner = `/opengraph-images/${slug}.png`;
5757

5858
return (
5959
<article className="h-entry">

0 commit comments

Comments
 (0)