]> git.phdru.name Git - phdru.name/phdru.name.git/blobdiff - phd_pp_ru.tmpl
Start/first/last links.
[phdru.name/phdru.name.git] / phd_pp_ru.tmpl
index c87bfce900a14907061cb2542a122db3d0dd6df5..2ede5d4c4ef9267e7a0356c23a50602a7a00bc8c 100644 (file)
@@ -6,8 +6,10 @@
 #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="&copy; $full_copyright PhiloSoft Design">
 <meta name="copyright" content="&copy; $full_copyright PhiloSoft Design">
-<link rel="copyright" href="." title="&copy; $full_copyright PhiloSoft Design">
+<link rel="copyright" href="$copy_href" title="&copy; $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