Skip to content

Commit

Permalink
Collection path template visible in sitemap (#956)
Browse files Browse the repository at this point in the history
* added code to block /collections/[symbol] from sitemap

* updated comment for code
  • Loading branch information
klai95 authored Mar 20, 2023
1 parent 7896e52 commit 0a66f73
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/src/pages/sitemap.xml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ const HUB_URL_IGNORE_PATTERNS = [
// sitemap.xml and robots.txt files
/\/sitemap\.xml|robots\.txt/,

// Collections pages
/\/collections\/\[symbol\]/,

// Plugin pages
/\/plugins\/\[name\]/,

Expand Down

0 comments on commit 0a66f73

Please sign in to comment.