Skip to content

Commit

Permalink
upgrade to astro 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Reed Nelson committed Oct 14, 2023
1 parent c0796ac commit 35372d9
Show file tree
Hide file tree
Showing 12 changed files with 8,427 additions and 9,620 deletions.
9 changes: 2 additions & 7 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import image from "@astrojs/image";
import mdx from "@astrojs/mdx";
import react from "@astrojs/react";
import sitemap from "@astrojs/sitemap";
Expand All @@ -11,10 +10,9 @@ import remarkMath from "remark-math";
import rehypeKatex from "rehype-katex";
import config from "./src/config/config.json";

// https://astro.build/config
export default defineConfig({
site: config.site.base_url ? config.site.base_url : "http://reednel.com",
base: config.site.base_path ? config.site.base_path : "/",
site: config.site.base_url,
base: config.site.base_path,
trailingSlash: config.site.trailing_slash ? "always" : "never",
integrations: [
react(),
Expand All @@ -24,9 +22,6 @@ export default defineConfig({
applyBaseStyles: false,
},
}),
image({
serviceEntryPoint: "@astrojs/image/sharp",
}),
AutoImport({
imports: [
"@/shortcodes/Button",
Expand Down
Loading

0 comments on commit 35372d9

Please sign in to comment.