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:
Sat Naing
2022-12-28 09:09:57 +06:30
committed by GitHub
parent f115e1f31d
commit ce3f1dc4a0
5 changed files with 554 additions and 208 deletions
+3 -2
View File
@@ -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"
},