diff --git a/src/routes/+page.ts b/src/routes/+page.ts new file mode 100644 index 0000000..c8cacf0 --- /dev/null +++ b/src/routes/+page.ts @@ -0,0 +1 @@ +export const prerender = true; \ No newline at end of file diff --git a/src/routes/blog/+page.ts b/src/routes/blog/+page.ts index 3908839..d159661 100644 --- a/src/routes/blog/+page.ts +++ b/src/routes/blog/+page.ts @@ -3,6 +3,8 @@ import { marked } from 'marked'; import markedKatex from 'marked-katex-extension'; import markedAlert from 'marked-alert'; +export const prerender = true; + const options = { throwOnError: false };