Disables the siteMapPriority
schema field on the trash
page to prevent an "unarranged field" warning about it.
Fixes a bug in the exclude-types
argument usage.
Added a configuration option to remove siteMapPriority
field globally
per Google's guidelines a <link>
should contain an <xhtml:link hreflang>
for every locale, including the locale of the <link>
itself, which was formerly excluded. Thanks to Fredrik Ekelund for this contribution.
never generate a priority below 0.1.
clone the priority field before adding it so we do not get into issues with arrangeFields
.
Fixes issue where children of unpublished top-level pages were left out of the site map. Additional documentation improvements.
fix for apps not using apostrophe-workflow, removing workflow-related xml tags that were left in the sitemap.
fix for static sitemap generation of workflow-driven sites without the perLocale
option, along with new unit tests to verify this has no negative impact on "simple" sites. Also uses the newly exported destroy
mechanism in its unit testing so we can use Mocha 5 and know that Apostrophe is truly freeing all resources in apos.destroy
.
adds ability to exclude page types in addition to piece types.
a bug that broke static sitemap file generation in the absence of workflow was fixed.
a bug that broke the sitemap generator in the absence of workflow was fixed. Thanks to Peter Shaw.
a bug that broke the sitemap generator in the presence of private workflow locales was fixed. Thanks to Albert R. Timashev.
sitemaps for sites localized with the apostrophe-workflow
module now include pointers to alternate language versions of each document.
- The command line
node app apostrophe-site-map:map --update-cache
can be used to update the sitemap that will be sent from Apostrophe's internal cache without waiting for the cache to expire. If the task is scheduled to run more often then once an hour, then a search engine will never be asked to wait a long time to generate it. For sites with many pages and pieces this can be critical.
piecesPerBatch
option for performance. Still defaults to processing 100 pieces at a time.- Support for the
hostname
option ofapostrophe-workflow
.
short-lived bug affecting command line tasks.
sitemaps are now served dynamically. They are stored in Apostrophe's cache for a configurable period of time. There is no need to run a command line task, or mess around with static files. Please note that you must remove existing static sitemap files first. See the documentation for important recommendations. Thanks to Michelin for their support of this work.
The documentation has also been overhauled thoroughly to be completely accurate for Apostrophe 2.x.
workflow-aware; new features providing compatibility with the apostrophe-workflow module.
documentation updates.
minor bug fixes.
initial port to Apostrophe 2.x.
enhance performances with many pieces