Skip to content

Commit

Permalink
Merge pull request #42 from reednel/develop
Browse files Browse the repository at this point in the history
upgrade to astro 3
  • Loading branch information
Reed Nelson committed Oct 14, 2023
2 parents 6bf90b8 + 35372d9 commit 3aeada2
Show file tree
Hide file tree
Showing 15 changed files with 8,508 additions and 9,694 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 3aeada2

Please sign in to comment.