#encoding koi8-r
#extends phd_pp
#implements respond
+#attr $Lead = ''
#attr $Title = ''
#attr $Description = None
#attr $Keywords = None
#attr $Copyright = None
#attr $Start = None
+#attr $First = None
#attr $Prev = None
#attr $Next = None
+#attr $Last = None
#attr $refresh = None
#import time
#attr $last_modified_en = time.strftime("%a, %d %b %Y %T GMT", time.gmtime())
#end if
#if $Copyright
#set $full_copyright = $copyright($Copyright)
+#if $path.startswith("/Russian/")
+#set $author_href = $root + "Russian/"
+#set $copy_href = $root + "Russian/free.html"
+#else
+#set $author_href = $root or "./"
+#set $copy_href = $root + "free.html"
+#end if
<meta name="author" content="Oleg Broytman">
+<link rel="author" href="$author_href" title="© $full_copyright PhiloSoft Design">
<meta name="copyright" content="© $full_copyright PhiloSoft Design">
-<link rel="copyright" href="." title="© $full_copyright PhiloSoft Design">
+<link rel="copyright" href="$copy_href" title="© $full_copyright PhiloSoft Design">
#end if
-<meta name="generator" content="CheetahTemplate">
<link rev="made" href="mailto:phd@phd.pp.ru">
+<meta name="generator" content="CheetahTemplate">
<meta name="robots" content="index, follow">
#if $root
-<link rel="Top" href="$root">
-<link rel="Up" href="../">
+#if $path.endswith('index.html')
+<link rel="up" href="../">
+#else
+<link rel="up" href="./">
+#end if
#end if
#if $Start
-<link rel="Start" href="$Start">
+<link rel="start" href="$Start">
+#elif not $path.endswith('index.html')
+<link rel="start" href="./">
+#end if
+#if $First
+<link rel="first" href="$First">
#end if
#if $Prev
-<link rel="Prev" href="$Prev">
+<link rel="prev" href="$Prev">
#end if
#if $Next
-<link rel="Next" href="$Next">
+<link rel="next" href="$Next">
+#end if
+#if $Last
+<link rel="last" href="$Last">
+#end if
+#if $path != "/search.html"
+<link rel="search" type="text/html" href="${root}search.html">
#end if
<link rel="stylesheet" type="text/css" media="screen" href="${root}phd.css">
#if $styles