mirror of
https://github.com/youwen5/site.git
synced 2024-11-28 10:53:50 -08:00
feat: prerender main page and blog
This commit is contained in:
parent
1dc9028ea8
commit
56a3c6ecf4
2 changed files with 3 additions and 0 deletions
1
src/routes/+page.ts
Normal file
1
src/routes/+page.ts
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export const prerender = true;
|
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue