minor bugfix where draft pages were being seen in rss feed
This commit is contained in:
parent
fff6d43a40
commit
4c30b54b75
1 changed files with 5 additions and 4 deletions
|
@ -40,10 +40,11 @@ void Program::buildAll()
|
|||
page->setOutFileContents(blogPageBuilder->createPage(articleHTML));
|
||||
page->writePageToFile();
|
||||
|
||||
atomBuilder->addHTMLEntry(articleHTML,
|
||||
page->getPageTitle(),
|
||||
siteWebUrl + page->getRelativeOutUrl(),
|
||||
page->getLastTimeEdited());
|
||||
if (!page->getPageFlags().alwaysHidden)
|
||||
atomBuilder->addHTMLEntry(articleHTML,
|
||||
page->getPageTitle(),
|
||||
siteWebUrl + page->getRelativeOutUrl(),
|
||||
page->getLastTimeEdited());
|
||||
}
|
||||
|
||||
atomBuilder->writeToFile(outFolderUrl);
|
||||
|
|
Loading…
Add table
Reference in a new issue