Skip to content

Commit 12d06aa

Browse files
committed
add site URL and robots.txt for SEO optimization
1 parent de21a6e commit 12d06aa

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

astro.config.mjs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import sitemap from "@astrojs/sitemap";
77

88
// https://astro.build/config
99
export default defineConfig({
10+
site: 'https://gin-gonic.com',
11+
1012
integrations: [starlight({
1113
plugins: [starlightUtils({
1214
multiSidebar: {

public/robots.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
User-agent: *
2+
Allow: /
3+
4+
Sitemap: https://gin-gonic.com/sitemap-index.xml

0 commit comments

Comments
 (0)