@@ -6,35 +6,41 @@ import { defineConfig, fontProviders } from 'astro/config';
66import remarkMath from 'remark-math' ;
77import rehypeKatex from 'rehype-katex' ;
88
9+ import cloudflare from '@astrojs/cloudflare' ;
10+
911export default defineConfig ( {
10- site : 'https://agenticweb.blog' ,
11- integrations : [ mdx ( ) , sitemap ( ) ] ,
12- markdown : {
13- remarkPlugins : [ remarkMath ] ,
14- rehypePlugins : [ rehypeKatex ] ,
12+ site : 'https://agenticweb.blog' ,
13+ integrations : [ mdx ( ) , sitemap ( ) ] ,
14+
15+ markdown : {
16+ remarkPlugins : [ remarkMath ] ,
17+ rehypePlugins : [ rehypeKatex ] ,
1518 } ,
16- fonts : [
17- {
18- provider : fontProviders . local ( ) ,
19- name : 'Atkinson' ,
20- cssVariable : '--font-atkinson' ,
21- fallbacks : [ 'sans-serif' ] ,
22- options : {
23- variants : [
24- {
25- src : [ './src/assets/fonts/atkinson-regular.woff' ] ,
26- weight : 400 ,
27- style : 'normal' ,
28- display : 'swap' ,
29- } ,
30- {
31- src : [ './src/assets/fonts/atkinson-bold.woff' ] ,
32- weight : 700 ,
33- style : 'normal' ,
34- display : 'swap' ,
35- } ,
36- ] ,
37- } ,
38- } ,
19+
20+ fonts : [
21+ {
22+ provider : fontProviders . local ( ) ,
23+ name : 'Atkinson' ,
24+ cssVariable : '--font-atkinson' ,
25+ fallbacks : [ 'sans-serif' ] ,
26+ options : {
27+ variants : [
28+ {
29+ src : [ './src/assets/fonts/atkinson-regular.woff' ] ,
30+ weight : 400 ,
31+ style : 'normal' ,
32+ display : 'swap' ,
33+ } ,
34+ {
35+ src : [ './src/assets/fonts/atkinson-bold.woff' ] ,
36+ weight : 700 ,
37+ style : 'normal' ,
38+ display : 'swap' ,
39+ } ,
40+ ] ,
41+ } ,
42+ } ,
3943 ] ,
40- } ) ;
44+
45+ adapter : cloudflare ( ) ,
46+ } ) ;
0 commit comments