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

Question about <lastmod> #259

Closed zhandosweb closed 4 years ago

zhandosweb commented 4 years ago

Hello!

Please, let me ask one question.

In documentation written, that the \ based on the date of the file changes in a filesystem.

It means, that \ is always dynamically? If I edit some post, then upload changes to hosting, \ date will change automatically?

I use jekyll-last-modified-at plugin too.

Sorry for the bad English, I'm still learning. I believe, that you understand me. And thank you for your work!

ashmaroli commented 4 years ago

<lastmod> is rendered based on the value reported by jekyll-last-modified-at. So if the plugin outputs a different timestamp, the sitemap will be updated accordingly.