Skip to content

Commit 6c0b83e

Browse files
committed
Sitemap + Robots.txt
1 parent ce57c32 commit 6c0b83e

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,4 @@ pnpm build
4444
- Run locally, test `netlify dev`
4545
- Create site `netlify unlink && netlify sites:create`
4646
- Deploy `netlify deploy --build -s <site-name>`
47+
- It should automatically create a sitemap

netlify.toml

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
[build]
22
command = "pnpm build"
33
publish = "build"
4+
5+
[[plugins]]
6+
package = "netlify-plugin-submit-sitemap"

static/robots.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
User-agent: *
2+
Disallow: /

0 commit comments

Comments
 (0)