This commit is contained in:
Adrian Altner 2026-03-30 14:16:43 +02:00
commit 017bf6e067
115 changed files with 19650 additions and 0 deletions

38
astro.config.mjs Normal file
View file

@ -0,0 +1,38 @@
import mdx from "@astrojs/mdx";
import node from "@astrojs/node";
import sitemap from "@astrojs/sitemap";
import { defineConfig } from "astro/config";
import EmbedPlugin from "astro-embed/integration";
import rehypeExternalLinks from "rehype-external-links";
import { remarkObsidianLinks } from "./src/lib/remark-obsidian-links.mjs";
export default defineConfig({
site: "https://adrian-altner.com",
devToolbar: {
enabled: false,
},
markdown: {
remarkPlugins: [remarkObsidianLinks],
rehypePlugins: [
[
rehypeExternalLinks,
{ target: "_blank", rel: ["noopener", "noreferrer"] },
],
],
},
integrations: [sitemap(), EmbedPlugin(), mdx()],
prefetch: true,
vite: {
ssr: {
noExternal: ["smartypants"],
},
},
adapter: node({
mode: "standalone",
}),
});