X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=phd_site.tmpl;h=65bb058a079d02463b720786570452ecbeac1367;hb=HEAD;hp=0568b49090046382724192633240900f9d3feee3;hpb=885ea384ba51ae8c0a0eca3b4d2cc7a26b8eb011;p=phdru.name%2Fphdru.name.git diff --git a/phd_site.tmpl b/phd_site.tmpl index 0568b49..67eb341 100644 --- a/phd_site.tmpl +++ b/phd_site.tmpl @@ -99,12 +99,6 @@ $style #end for #end if -#if not $root and $path.endswith('index.html') - - - - -#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