// rss feed
std::unique_ptr<RSSFeed> feed (new RSSFeed ());
feed.get()->set_pub_date (index.get()->get_creation_date());
+ feed.get()->set_title (this->get_title());
// iterate through the documents and generate the document
for (Document doc : this->docs) {
this->add_child (doctree.get());
}
- // add the regular files as documents in the tree
- else if (fsitem.is_regular_file ()) {
+ // add the regular files as documents in the tree and not symlink
+ else if (fsitem.is_regular_file () && !fsitem.is_symlink()) {
// if it is an index file (specially named as index
// or index.md or whatever) directly add
// the contents to the summary of the Doctree