#from Cheetah.Template import Template #from tfplib.htmlutils import ReplaceSpecialChars, shorten #compiler-settings autoImportForExtendsDirective = False allowExpressionsInExtendsDirective = True #end compiler-settings #extends Template.compile(file=config["paths"]["BasePage"].encode("utf-8")) #def $commenterror #end def #def title $ReplaceSpecialChars($Name) :: $ReplaceSpecialChars($Entry["Title"])# #end def #def links #end def #def scripts #end def #def bodytag
#end def #def Content $EntryBlock($Entry)
#for $Pingback in $Entry["Pingbacks"]
$sblog.ReplaceSpecialChars($sblog.shorten($Pingback["href"], 45))
#end for
Comments
#if $Entry["Comments"] #for $Comment in $Entry["Comments"]...on $Comment["Time"].year-$Comment["Time"].month-$Comment["Time"].day $ReplaceSpecialChars($Comment["Author"]["nick"]) Wrote
$Comment["Formatter"]($Comment["Text"])No comments yet.
#end ifPingbacks
#if $Entry["Pingbacks"]#for $Pingback in $Entry["Pingbacks"] $ReplaceSpecialChars($shorten($Pingback["href"], 45))
#end for
No Pingbacks yet.
#end ifLeave A Comment: