Skip to content

v0.3.0 - lastmod suppport

Compare
Choose a tag to compare
@ReeceM ReeceM released this 30 Jun 21:09
· 44 commits to main since this release

Release of version 0.3.0

Added

  • Option to make use of callback in optionsMapPerDocumentType see Discussion Lastmod support #8, thank you @mkbctrl for highlighting this missing bit.
  • Added option to have a static path list of urls for normal routes that aren't dynamic
  • Static paths can also have functions that allow it to perform some other logic on the user level
  • static paths will use the latest date for lastmod if not defined

Changed

  • Made the URL result from the linkResolver take priority on results that go into the sitemap
  • The sitemapConfig option is using the lastmodDateOnly = true setting to ensure all lastmod dates are YYYY-MM-DD only. But can be disabled to keep UTC time.