mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 07:33:07 +08:00
feat: generate dynamic og image for blog posts (#15)
* feat: add dynamic og image using satori * feat: add og card styling * feat: add dynamic paths for ogTitle * feat: add default og url * ci: change config site url for testing purpose * fix: update original auto-generate og image style * refactor: move ogImage jsx inside generateOgImage * fix: add conditions for filtering draft posts & ogImages * build: update minor and major dependency updates * build: update site option in config file
This commit is contained in:
+3
-2
@@ -15,11 +15,12 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/rss": "^1.0.3",
|
||||
"astro": "^1.6.13",
|
||||
"astro": "^1.8.0",
|
||||
"fuse.js": "^6.6.2",
|
||||
"github-slugger": "^2.0.0",
|
||||
"remark-collapse": "^0.1.2",
|
||||
"remark-toc": "^8.0.1",
|
||||
"satori": "^0.0.44",
|
||||
"tailwindcss": "^3.2.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -33,7 +34,7 @@
|
||||
"cz-conventional-changelog": "^3.3.0",
|
||||
"husky": "^8.0.2",
|
||||
"lint-staged": "^13.1.0",
|
||||
"prettier": "^2.8.0",
|
||||
"prettier": "^2.8.1",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user