Skip to content

Commit c8edc15

Browse files
committed
feat(2025): read ogp from CNAME
1 parent fbb5380 commit c8edc15

File tree

5 files changed

+554
-9
lines changed

5 files changed

+554
-9
lines changed

2025/astro.config.mjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// @ts-check
22
import { defineConfig } from 'astro/config';
3+
import Macros from 'unplugin-macros/vite'
34

45
// https://astro.build/config
56
export default defineConfig({
@@ -11,4 +12,9 @@ export default defineConfig({
1112
'/': '/2025/ja',
1213
'/2025': '/2025/ja',
1314
},
15+
vite:{
16+
plugins: [
17+
Macros()
18+
]
19+
}
1420
});

2025/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
},
1818
"devDependencies": {
1919
"@astrojs/ts-plugin": "^1.10.4",
20-
"typescript": "^5.7.3"
20+
"astro-og-image": "^1.0.7",
21+
"typescript": "^5.7.3",
22+
"unplugin-macros": "^0.16.0"
2123
},
2224
"pnpm": {
2325
"executionEnv": {

0 commit comments

Comments
 (0)