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
961 stars 135 forks source link

How to add pages to the sitemap that don’t exist #249

Closed zoe-edwards closed 5 years ago

zoe-edwards commented 5 years ago

We have some pages that are delivered by proxy, so do not exist in Jekyll.

We have an API that provides the pages, and we have a plugin that can get this data.

Is there a way to add data to the sitemap, but for pages that don’t render in Jekyll?

DirtyF commented 5 years ago

You can always build your own sitemap.xml layout and gather data from you API with your plugin. This generic plugin won't solve that very specific use case.

zoe-edwards commented 5 years ago

Ah perfect, of course! Thanks for the reply.