feat: implement blog template
This commit is contained in:
@@ -2,13 +2,25 @@
|
||||
import { defineConfig } from 'astro/config';
|
||||
import tailwindcss from "@tailwindcss/vite";
|
||||
import astroIcon from "astro-icon"
|
||||
import mdx from '@astrojs/mdx';
|
||||
import remarkMath from 'remark-math';
|
||||
import rehypeKatex from 'rehype-katex';
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
vite: { plugins: [tailwindcss()], },
|
||||
integrations: [astroIcon()],
|
||||
integrations: [
|
||||
astroIcon(),
|
||||
],
|
||||
site: 'https://alejandrolaguna.dev',
|
||||
base: "/",
|
||||
markdown: {
|
||||
remarkPlugins: [remarkMath],
|
||||
rehypePlugins: [rehypeKatex],
|
||||
shikiConfig: {
|
||||
theme: "vesper",
|
||||
}
|
||||
},
|
||||
output: "static",
|
||||
server: {
|
||||
host: '0.0.0.0',
|
||||
|
||||
Reference in New Issue
Block a user