X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=phd_site.tmpl;h=b141476094ac1aead573da0f4953f6826a35619e;hb=HEAD;hp=0568b49090046382724192633240900f9d3feee3;hpb=885ea384ba51ae8c0a0eca3b4d2cc7a26b8eb011;p=phdru.name%2Fphdru.name.git diff --git a/phd_site.tmpl b/phd_site.tmpl index 0568b49..b141476 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 @@ -145,8 +139,12 @@ $style #end if

$body +#from urllib.parse import quote +#def encode_tag(tag): +$quote(tag.replace(' ', '_'), encoding='koi8-r') +#end def #def link_tag($tag) -$tag +$tag #end def #if $Tag