fix: minor fixes
(cherry picked from commit c55446003d7457a02467f9808bd24f7325ba91d6)
This commit is contained in:
parent
03f1431b26
commit
ad67a86ef9
|
@ -5,7 +5,10 @@ import icon from "astro-icon";
|
||||||
import tailwind from "@astrojs/tailwind";
|
import tailwind from "@astrojs/tailwind";
|
||||||
import {remarkReadingTime} from "./src/plugins/remark-reading-time.mjs";
|
import {remarkReadingTime} from "./src/plugins/remark-reading-time.mjs";
|
||||||
|
|
||||||
|
import rehypeKatex from "rehype-katex";
|
||||||
|
|
||||||
import Color from 'colorjs.io';
|
import Color from 'colorjs.io';
|
||||||
|
import remarkMath from "remark-math";
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
|
|
||||||
|
@ -30,6 +33,7 @@ export default defineConfig({
|
||||||
],
|
],
|
||||||
markdown: {
|
markdown: {
|
||||||
remarkPlugins: [remarkReadingTime],
|
remarkPlugins: [remarkReadingTime],
|
||||||
|
rehypePlugins: [],
|
||||||
},
|
},
|
||||||
redirects: {
|
redirects: {
|
||||||
'/': '/page/1',
|
'/': '/page/1',
|
||||||
|
|
|
@ -22,7 +22,8 @@
|
||||||
"rehype-katex": "^7.0.0",
|
"rehype-katex": "^7.0.0",
|
||||||
"remark-math": "^6.0.0",
|
"remark-math": "^6.0.0",
|
||||||
"tailwindcss": "^3.3.3",
|
"tailwindcss": "^3.3.3",
|
||||||
"typescript": "^5.2.2"
|
"typescript": "^5.2.2",
|
||||||
|
"valine": "^1.5.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/ts-plugin": "^1.1.3",
|
"@astrojs/ts-plugin": "^1.1.3",
|
||||||
|
|
734
pnpm-lock.yaml
734
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
@ -1,6 +1,6 @@
|
||||||
title: Fuwari
|
title: Fuwari
|
||||||
menu:
|
menu:
|
||||||
home: /
|
home: /page/1
|
||||||
archive: /archive
|
archive: /archive
|
||||||
about: /about
|
about: /about
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue