]> git.phdru.name Git - phdru.name/phdru.name.git/blobdiff - phd_site.tmpl
Fix [ -nt ]-test for /bin/sh
[phdru.name/phdru.name.git] / phd_site.tmpl
index 003c5b90d8255beea7b5717ece9c106197fc6599..0388f0bf8b86c863e4e7b22e6daa9bf982fee006 100644 (file)
@@ -95,7 +95,7 @@ $style
 #end for
 #end if
 <link rel="shortcut icon" href="${root}favicon.ico">
-#if not $root
+#if not $root and $path.endswith('index.html')
 <link rel="openid.delegate" href="http://phdru.name/">
 <link rel="openid2.local_id" href="http://phdru.name/">
 <link rel="openid.server" href="http://home.phdru.name/cgi-bin/poit.py">
@@ -120,7 +120,8 @@ $body
 #end def
 #if $Tag
 <hr width="90%">
-#if isinstance($Tag, basestring)
+#from Cheetah.compat import string_type
+#if isinstance($Tag, string_type)
 #if $path.startswith("/Russian/")
 Тег:
 #else