X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=phd_site.tmpl;h=0388f0bf8b86c863e4e7b22e6daa9bf982fee006;hb=af2e193af1a1a95983839beb0fad3d76ab96e4c6;hp=003c5b90d8255beea7b5717ece9c106197fc6599;hpb=090d227e18bc2fe43ba7c63d0b241cddaaed07cc;p=phdru.name%2Fphdru.name.git diff --git a/phd_site.tmpl b/phd_site.tmpl index 003c5b9..0388f0b 100644 --- a/phd_site.tmpl +++ b/phd_site.tmpl @@ -95,7 +95,7 @@ $style #end for #end if -#if not $root +#if not $root and $path.endswith('index.html') @@ -120,7 +120,8 @@ $body #end def #if $Tag
-#if isinstance($Tag, basestring) +#from Cheetah.compat import string_type +#if isinstance($Tag, string_type) #if $path.startswith("/Russian/") ôÅÇ: #else