findissues
findissues copied to clipboard
Site links
PR Template π
π Fixed Issue
I tried improving the SEO of the app.
π Proposed Changes
In order to improve the SEO, I looked at the site-links improvements. I therefore added a link to a site-map to each page of the website. I wanted the site-map to stay updated even if new improvements or features were added to the app so I added a site-map generator command to config.
πΌοΈ Screenshots
π Notes for Reviewers
I kept the old site-map in a file called "old_site-map" and I found out that the new created site-map was missing some pages. I found the issue. It is because to find the url of the [lang] pages, the generator uses the function getStaticPath of the [lang].js file but this function is only using the langages that are in the priority_langs.js file.
Checklist β
- [X ] Starred this repo β.
- [X ] Code adheres to the project's coding standards π».
- [X ] No sensitive information is inadvertently exposed π.
- [X ] Commit history is clear and concise π.
Reviewer Tasks π΅οΈ
Additional Context βΉοΈ
In order to run the site-map gen, you just have to launch the command : "npm run site-map" this command uses the package "npm install next-sitemap"