fix: minor fixes

(cherry picked from commit c55446003d7457a02467f9808bd24f7325ba91d6)
This commit is contained in:
saicaca 2023-10-18 02:10:01 +08:00
parent 03f1431b26
commit ad67a86ef9
4 changed files with 741 additions and 2 deletions

View File

@ -5,7 +5,10 @@ import icon from "astro-icon";
import tailwind from "@astrojs/tailwind";
import {remarkReadingTime} from "./src/plugins/remark-reading-time.mjs";
import rehypeKatex from "rehype-katex";
import Color from 'colorjs.io';
import remarkMath from "remark-math";
// https://astro.build/config
@ -30,6 +33,7 @@ export default defineConfig({
],
markdown: {
remarkPlugins: [remarkReadingTime],
rehypePlugins: [],
},
redirects: {
'/': '/page/1',

View File

@ -22,7 +22,8 @@
"rehype-katex": "^7.0.0",
"remark-math": "^6.0.0",
"tailwindcss": "^3.3.3",
"typescript": "^5.2.2"
"typescript": "^5.2.2",
"valine": "^1.5.1"
},
"devDependencies": {
"@astrojs/ts-plugin": "^1.1.3",

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
title: Fuwari
menu:
home: /
home: /page/1
archive: /archive
about: /about