Skip to content

Commit

Permalink
add: sitemap plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
arshptl committed Dec 28, 2023
1 parent 78ac586 commit bc4ff66
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 55 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@

# production
/build
public/robots.txt
public/sitemap*.xml


# misc
.DS_Store
Expand Down
9 changes: 9 additions & 0 deletions next-sitemap.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const siteUrl = "https://www.toolpool.cool";

module.exports = {
siteUrl,
generateRobotsTxt: true,
robotsTxtOptions: {
policies: [{ userAgent: "*", allow: "/" }],
},
};
Loading

1 comment on commit bc4ff66

@vercel
Copy link

@vercel vercel bot commented on bc4ff66 Dec 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.