Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant create different lastmod values for different sitemaps #112

Closed
icodefuture opened this issue Apr 22, 2020 · 1 comment · Fixed by #113
Closed

Cant create different lastmod values for different sitemaps #112

icodefuture opened this issue Apr 22, 2020 · 1 comment · Fixed by #113
Assignees

Comments

@icodefuture
Copy link

I want to add different lastmod values to individual sitemaps.

sitemap: {
		path: '/sitemap_index.xml',
    	        xslUrl: '/sitemap.xsl',
		sitemaps: 
		[
			{
				path: '/article-sitemap.xml',
				lastmod: '2020-04-20',
                         }
                ]
}

However the generated sitemap is just having loc field only at this URL - sitemap_index.xml

@NicoPennec
Copy link
Member

@icodefuture Thank you for the bug report.

It should be fixed on the next release.

NicoPennec added a commit that referenced this issue Apr 23, 2020
NicoPennec added a commit that referenced this issue Apr 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants