Skip to content

Commit

Permalink
Enable sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
navix committed Dec 18, 2024
1 parent 12aa818 commit 7a426f4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
import {defineConfig} from 'astro/config';
import starlight from '@astrojs/starlight';

import sitemap from '@astrojs/sitemap';

// https://astro.build/config
export default defineConfig({
site: 'https://info.bsky.one',
integrations: [
starlight({
customCss: ['./src/fonts/fixel.css', './src/styles/theme.css', './src/styles/common.css'],
Expand Down Expand Up @@ -65,5 +68,6 @@ export default defineConfig({
},
],
}),
sitemap(),
],
});
1 change: 1 addition & 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": {
"@astrojs/check": "^0.9.4",
"@astrojs/sitemap": "^3.2.1",
"@astrojs/starlight": "^0.28.3",
"astro": "^4.15.3",
"sharp": "^0.32.5",
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://info.bsky.one/sitemap-index.xml

0 comments on commit 7a426f4

Please sign in to comment.