Added check to prevent symlink from being followed in the
document tree generation to avoid complications. Also minor
change to rss item template
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
<!-- change http://my.site to your actual site URL -->
<!-- don't touch anything within the curly braces-->
<link>http://my.site/{url}</link>
- <guid isPermaLink="false">http://my.site/{url}</guid>
+ <guid>http://my.site/{url}</guid>
<pubDate>{pubdate:%a, %d %b %Y %H:%M:%S %z}</pubDate>
- </item>
\ No newline at end of file
+ </item>