Skip to content

Commit

Permalink
fix: incorrect sitemap for /search
Browse files Browse the repository at this point in the history
  • Loading branch information
GonzaloHirsch committed Feb 24, 2024
1 parent 2fdc3c9 commit 283fbcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pages/sitemap/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<SitemapList
:data="[
{ headline: 'Blog', _path: '/blog' },
{ headline: 'Blog Search', _path: '/search' },
// { headline: 'Blog Search', _path: '/search' },
{ headline: 'Blog Page 1', _path: '/blog/page/1' },
{ headline: 'Blog Page 2', _path: '/blog/page/2' },
{ headline: 'Blog Page 3', _path: '/blog/page/3' },
Expand Down
2 changes: 1 addition & 1 deletion server/routes/sitemap.xml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const include = [
'https://gonzalohirsch.com',
'/Gonzalo_Hirsch-Software_Engineer-CV.pdf',
'/blog/',
'/search/',
//'/search/',
'/sitemap/',
];
// Adding blog pages
Expand Down

0 comments on commit 283fbcf

Please sign in to comment.