Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
sitemap.xml includes not published posts #3180
Environment (if reporting a bug)
Python Version: 3.6.5
Nikola Version: 8.0.1
Operating System: Mac
It seems Nikola's sitemap includes not published posts,
Is this supposed to be this way?
Sorry for making you confused, I should have told the status properly.
For now I'm specifying
And the values (might be relavant it) in
Also the other posts that specified the status as well are not displayed on index.html and also atom.xml.
You might think it weird to specify
I just realized though, it seems that a private post specified a slug expressly on just under
I tried the way you said, and it worked.
I'll give up if you decided don't deal with a rare case like this. it's not so hard to make a task to generate a sitemap by myself :)
But honestly I hope you fix it, because it looks an extraction method of sitemap.xml is different from the others. (e.g. index.html, atom.xml)
I know this may cause a problem, but I would be glad if you could consider it.
btw, '.' means current directory path, I think you know that though.