first commit
This commit is contained in:
commit
ff7c974867
227 changed files with 12908 additions and 0 deletions
37
astro.config.ts
Normal file
37
astro.config.ts
Normal file
|
@ -0,0 +1,37 @@
|
|||
import { defineConfig, passthroughImageService } from "astro/config";
|
||||
import sitemap from "@astrojs/sitemap";
|
||||
import rehypeExternalLinks from "rehype-external-links";
|
||||
import mdx from "@astrojs/mdx";
|
||||
import tailwind from "@astrojs/tailwind";
|
||||
import icon from "astro-icon";
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
site: "https://troylusty.com",
|
||||
integrations: [sitemap(), mdx(), tailwind(), icon()],
|
||||
output: "static",
|
||||
markdown: {
|
||||
rehypePlugins: [
|
||||
[
|
||||
rehypeExternalLinks,
|
||||
{
|
||||
target: "_blank",
|
||||
rel: "noopener nofollow noreferrer",
|
||||
},
|
||||
],
|
||||
],
|
||||
shikiConfig: {
|
||||
wrap: true,
|
||||
},
|
||||
syntaxHighlight: false,
|
||||
},
|
||||
image: {
|
||||
service: passthroughImageService(),
|
||||
},
|
||||
build: {
|
||||
inlineStylesheets: "never",
|
||||
},
|
||||
experimental: {
|
||||
responsiveImages: true,
|
||||
},
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue