Skip to content

Commit

Permalink
Add sitemap integration
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinsina committed Mar 1, 2024
1 parent 3aa351d commit ef4ebe5
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 1 deletion.
3 changes: 2 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { defineConfig } from 'astro/config';
import tailwind from "@astrojs/tailwind";
import prefetch from "@astrojs/prefetch";
import sitemap from "@astrojs/sitemap";

// https://astro.build/config
export default defineConfig({
site: "https://shinsina.github.io",
base: "/Stat-N-Track",
integrations: [tailwind(), prefetch()]
integrations: [tailwind(), prefetch(), sitemap()]
});
59 changes: 59 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"dependencies": {
"@alpinejs/collapse": "^3.13.3",
"@astrojs/prefetch": "^0.4.1",
"@astrojs/sitemap": "^3.1.1",
"@astrojs/tailwind": "^5.1.0",
"@types/alpinejs": "^3.13.5",
"alpinejs": "^3.13.3",
Expand Down
4 changes: 4 additions & 0 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
User-agent: *
Allow: /

Sitemap: https://shinsina.github.io/Stat-N-Track/sitemap-index.xml

0 comments on commit ef4ebe5

Please sign in to comment.