jekyll / jekyll-sitemap

Jekyll plugin to silently generate a sitemaps.org compliant sitemap for your Jekyll site
http://rubygems.org/gems/jekyll-sitemap
MIT License
958 stars 135 forks source link

How to include URLs from Secondary Project in Main Site's sitemap?? #315

Open sohang3112 opened 1 month ago

sohang3112 commented 1 month ago

I have a main site (sohang3112.github.io) using Jekyll, with a sitemap. There's a secondary project site hosted in a different repo but under the same domain (sohang3112.github.io/resume/).

How can I include the URLs from the secondary project site in the sitemap of the main site??

nisbet-hubbard commented 1 month ago

If you just want specific search engines to discover both sitemaps, you can submit them in their respective webmaster consoles.

If you also want other crawlers to be aware of them, you can create a robots.txt in the / of your main repo and add a line in it for each sitemap.