X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=phd_site.tmpl;h=67eb3412546901353bbb619c3e55bad2b3373f4b;hb=e05121e618d19083c3626cf53cf74a2232d4c2da;hp=65bb058a079d02463b720786570452ecbeac1367;hpb=eb94065dedae915e75291ee6399ae9d24000c767;p=phdru.name%2Fphdru.name.git diff --git a/phd_site.tmpl b/phd_site.tmpl index 65bb058..67eb341 100644 --- a/phd_site.tmpl +++ b/phd_site.tmpl @@ -139,8 +139,12 @@ $style #end if

$body +#from urllib import quote +#def encode_tag(tag): +$quote(tag.decode('utf-8').encode('koi8-r').replace(' ', '_')) +#end def #def link_tag($tag) -$tag +$tag #end def #if $Tag