virtualcoffee.io icon indicating copy to clipboard operation
virtualcoffee.io copied to clipboard

[Feature] Created sitemap

Open manya706 opened this issue 4 months ago • 3 comments

Linked Issue

closes #1170

Description

This pull request introduces a new generate-sitemap.mjs file to automatically generate and update the sitemap for the website. The script consolidates the sitemap generation logic and ensures it runs after the build process.

Methodology

New Script: Created generate-sitemap.mjs to generate the sitemap. Postbuild Hook: Updated package.json to include a postbuild script that runs the sitemap generation script automatically after the build process.

Verification

  • Run Build:
pnpm run build
  • Generate Sitemap:
pnpm run generate-sitemap
  • Check Output: Verify sitemap.xml is generated correctly.

Code of Conduct

By submitting this pull request, you agree to follow our Code of Conduct

manya706 avatar Oct 07 '24 18:10 manya706