Skip to content

Commit

Permalink
fix(seo): do not index icons page
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelodelain committed May 21, 2024
1 parent 4c09478 commit 1c07049
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ export default defineNuxtConfig({
].join('; '),
},
},
// Auto generated page by svgSprite module
'/_icons': {
headers: {
// Do not index the page and remove it from sitemap
'X-Robots-Tag': 'noindex',
},
},
},
},
// https://github.com/nuxt-modules/svg-sprite#options
Expand Down

0 comments on commit 1c07049

Please sign in to comment.