Add sitemap to influence Sitelinks

## Issue
Part of `7166 improve search metadata`

## Notes
This is an experiment to influence the Sitelinks in our search results. Our current sitemap only consists of claims, so claims appear in Sitelinks more often. We (Julian) want categories to have higher priority, if possible.

For now, the sitemap will be defined in Google Console instead of robots.txt.

If it works, the file should be uploaded to sitemap.odysee.com, alongside the claim list sitemap.
This commit is contained in:
infinite-persistence 2021-10-06 11:41:52 +08:00
parent 0be3154cbe
commit 95654955b1
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0
2 changed files with 23 additions and 0 deletions

18
static/sitemap.txt Normal file
View file

@ -0,0 +1,18 @@
https://odysee.com
https://odysee.com/$/general
https://odysee.com/$/bighits
https://odysee.com/$/gaming
https://odysee.com/$/music
https://odysee.com/$/universe
https://odysee.com/$/tech
https://odysee.com/$/lab
https://odysee.com/$/movies
https://odysee.com/$/news
https://odysee.com/$/finance
https://odysee.com/$/wildwest
https://odysee.com/$/signup
https://odysee.com/$/signin
https://odysee.com/$/help
https://odysee.com/$/settings
https://odysee.com/@Odysee:8
https://odysee.com/@OdyseeHelp:b

View file

@ -45,6 +45,11 @@ const copyWebpackCommands = [
to: `${DIST_ROOT}/robots.txt`,
force: true,
},
{
from: `${STATIC_ROOT}/sitemap.txt`,
to: `${DIST_ROOT}/sitemap.txt`,
force: true,
},
{
from: `${STATIC_ROOT}/img/favicon.png`,
to: `${DIST_ROOT}/public/favicon.png`,