Skip to content

Commit

Permalink
chore: added robot and sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
KernelPanic92 committed Sep 8, 2024
1 parent cfb7011 commit 22c3b5f
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ public/images/classi
pages/manuale/classi/
pages/homebrew/classi/
public/assets/standard
public/robots.txt
public/sitemap*.xml
.vercel
src/data/dungeon-world-data.json
5 changes: 5 additions & 0 deletions web/next-sitemap.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/** @type {import('next-sitemap').IConfig} */
module.exports = {
siteUrl: 'https://www.dungeonworld-italia.it',
generateRobotsTxt: true,
}
2 changes: 2 additions & 0 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"predev": "pnpm run sync-materials",
"dev": "next dev",
"build": "rimraf .next && next build",
"postbuild": "next-sitemap",
"start": "next start",
"sync-materials": "ts-node scripts/sync-materials/index.ts"
},
Expand Down Expand Up @@ -55,6 +56,7 @@
"autoprefixer": "^10.0.1",
"eslint": "^8",
"eslint-config-next": "14.1.0",
"next-sitemap": "^4.2.3",
"postcss": "^8",
"tailwindcss": "^3.3.0",
"ts-node": "^10.9.2",
Expand Down
28 changes: 28 additions & 0 deletions web/pnpm-lock.yaml

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

0 comments on commit 22c3b5f

Please sign in to comment.