feat: prerender main page and blog

This commit is contained in:
Youwen Wu 2024-04-04 17:30:51 -07:00
parent 1dc9028ea8
commit 56a3c6ecf4
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
2 changed files with 3 additions and 0 deletions

1
src/routes/+page.ts Normal file
View file

@ -0,0 +1 @@
export const prerender = true;

View file

@ -3,6 +3,8 @@ import { marked } from 'marked';
import markedKatex from 'marked-katex-extension'; import markedKatex from 'marked-katex-extension';
import markedAlert from 'marked-alert'; import markedAlert from 'marked-alert';
export const prerender = true;
const options = { const options = {
throwOnError: false throwOnError: false
}; };