File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,15 @@ This is a plug and play library for [`Sveltekit`](https://kit.svelte.dev/) proje
2828
2929 export const prerender = true ;
3030
31- initNotion({
32- databaseId: PUBLIC_NOTION_DATABASE_ID, //from .env
33- notionToken: PUBLIC_NOTION_TOKEN, //from .env
31+ initNotionBlog({
32+ tokens: {
33+ databaseId: PUBLIC_NOTION_DATABASE_ID, //from .env
34+ notionToken: PUBLIC_NOTION_TOKEN, //from .env
35+ },
36+ settings: {
37+ blogTitle: " Notion Blog" ,
38+ blogDescription: " A blog powered by Notion"
39+ }
3440 });
3541` ` `
3642
Original file line number Diff line number Diff line change @@ -10,7 +10,12 @@ export declare const load: () => Promise<{
1010 message : string ;
1111 } ;
1212 pages ?: undefined ;
13+ settings ?: undefined ;
1314} | {
1415 pages : import ( "@notionhq/client/build/src/api-endpoints" ) . PageObjectResponse [ ] ;
16+ settings : {
17+ blogTitle : string ;
18+ blogDescription : string ;
19+ } ;
1520 error ?: undefined ;
1621} | undefined > ;
You can’t perform that action at this time.
0 commit comments