#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">
</head>
<body bgcolor="#CCCCCC" text="#000000"
link="#0000bb" vlink="#551a8b" alink="#ff0000">
+<p class="small">
+#set $path_components = $path.split('/')[1:-1]
+#set $breadcrumbs = ['<a href="' + $root + '">phdru.name</a>']
+#for $i in range(len($path_components))
+#set $subpath = '/'.join($path_components[:i+1])
+#silent $breadcrumbs.append('<a href="' + $root + $subpath + '/">' + $path_components[i]+ '</a>')
+#end for
+#echo " / ".join($breadcrumbs)
+</p>
$body
#def link_tag($tag)
<a href="../../../tags/${tag}.html">$tag</a>
#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