#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)

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"])
#end for #else

No comments yet.

#end if

Pingbacks

#if $Entry["Pingbacks"]

#for $Pingback in $Entry["Pingbacks"] $ReplaceSpecialChars($shorten($Pingback["href"], 45))
#end for

#else

No Pingbacks yet.

#end if

Leave A Comment:

#if $commenterror

$commenterror

#end if

(Name)
(Your Comment)
(Encoding)
(Format of your Comment)
Note: you can not use HTML. If you use wiki formatting examples of it are here

#end def #* #def $commenterror #end def $sblog.ReplaceSpecialChars($Name) :: $sblog.ReplaceSpecialChars($Entry["Title"])

$sblog.ReplaceSpecialChars($Name)


Topics:

Valid XHTML 1.1
Valid CSS!

$sblog.ReplaceSpecialChars($Entry["Title"])

$Entry["Formatter"]($Entry["Text"])

Posted by $sblog.ReplaceSpecialChars($Entry["Author"]["nick"]) ($sblog.ReplaceSpecialChars($Entry["Author"]["Name"]["first"]) $sblog.ReplaceSpecialChars($Entry["Author"]["Name"]["last"])) on $Entry["PostTime"].strftime("%F") in [ #for $Topic in $Entry["Topics"] $sblog.ReplaceSpecialChars($Topic)/, #end for ]


Comments

#if $Entry["Comments"] #for $Comment in $Entry["Comments"]

...on $Comment["Time"].year-$Comment["Time"].month-$Comment["Time"].day $sblog.ReplaceSpecialChars($Comment["Author"]["nick"]) Wrote

$Comment["Formatter"]($Comment["Text"])
#end for #else

No comments yet.

#end if

Pingbacks

#if $Entry["Pingbacks"]

#for $Pingback in $Entry["Pingbacks"] $sblog.ReplaceSpecialChars($sblog.shorten($Pingback["href"], 45))
#end for

#else

No Pingbacks yet.

#end if

Leave A Comment:

#if $commenterror

$commenterror

#end if

(Name)
(Your Comment)
(Encoding)
(Format of your Comment)
Note: you can not use HTML. If you use wiki formatting examples of it are here

*#