Skip to content

Commit

Permalink
chore: add robotsTxt() in astro.config
Browse files Browse the repository at this point in the history
  • Loading branch information
MaevaWolff committed Sep 18, 2023
1 parent 57a6dd0 commit 8e2e6ab
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
import { defineConfig } from "astro/config";
import tailwind from "@astrojs/tailwind";
import sitemap from "@astrojs/sitemap";
import robotsTxt from "astro-robots-txt";
import { SITE_URL } from "./src/data/config";


// https://astro.build/config
export default defineConfig({
integrations: [tailwind(), sitemap()],
integrations: [tailwind(), sitemap(), robotsTxt()],
site: SITE_URL,
markdown: {
syntaxHighlight: "shiki",
shikiConfig: {
theme: "nord",
wrap: false,
},
},
});
wrap: false
}
}
});

0 comments on commit 8e2e6ab

Please sign in to comment.