Skip to content

Commit 8b9524c

Browse files
authored
Merge pull request #329 from 1chooo/refactor/#320
Refactor/#320
2 parents 390ff60 + 927cdbf commit 8b9524c

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

apps/docs/pages/thanks.mdx

+3
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,14 @@
55
- [dillionverma/portfolio](https://portfolio-magicui.vercel.app/blog)
66
- [vcard-personal-portfolio](https://codewithsadee.github.io/vcard-personal-portfolio/)
77
- [tszhong0411/honghong.me](https://github.com/tszhong0411/honghong.me)
8+
- [leerob/site](https://github.com/leerob/site) [f2fde9b](https://github.com/leerob/site/tree/f2fde9b4a033bb2b639fe36e3902d5c75c2cccee)
9+
810

911
## Blog
1012

1113
- [wutali/nextjs-netlify-blog-template](https://github.com/wutali/nextjs-netlify-blog-template)
1214
- [add-skeleton-loader](https://www.npmjs.com/package/react-loading-skeleton)
15+
- [rdsx.dev](https://github.com/rudrodip/rdsx.dev)
1316

1417
## Docs
1518

apps/web/src/app/blog/[slug]/page.tsx

+5-5
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ export async function generateMetadata({
2222
title,
2323
publishedAt: publishedTime,
2424
summary: description,
25-
image,
25+
banner,
2626
} = post.metadata;
27-
let ogImage = image
28-
? `https://leerob.io${image}`
29-
: `https://leerob.io/og?title=${title}`;
27+
let ogImage = banner
28+
? `https://1chooo.com${banner}`
29+
: `https://1chooo.com/og?title=${title}`;
3030

3131
return {
3232
title,
@@ -36,7 +36,7 @@ export async function generateMetadata({
3636
description,
3737
type: 'article',
3838
publishedTime,
39-
url: `https://leerob.io/blog/${post.slug}`,
39+
url: `https://1chooo.com/blog/${post.slug}`,
4040
images: [
4141
{
4242
url: ogImage,

0 commit comments

Comments
 (0)