#filter WebSafe
$post.excerpt
<p><a href="$post.URL">Read more</a>&hellip;</p>
-#filter Filter
+#end filter
</summary>
#end if
#if $post.content
<content type="html" mode="escaped">
#filter WebSafe
$post.content
-#filter Filter
+#end filter
</content>
#end if
#for $c in $post.categoryList
class phd_pp(Template):
def __init__(self, *args, **kw):
+ if not hasattr(self, "_fileBaseName"):
+ self._fileDirName, self._fileBaseName = os.path.split(os.path.abspath(self._CHEETAH_src))
Template.__init__(self, *args, **kw)
directories = self._fileDirName.split('/')[full_dirs:] # remove directories up to "./files"
dirs_to_root = len(directories)
#elif $post.content
$post.content
#end if
-#filter Filter
+#end filter
</description>
#end if
<pubDate>${post.rfc822_date}</pubDate>