]> git.phdru.name Git - phdru.name/phdru.name.git/blobdiff - phd_pp_ru.tmpl
Rolled back some changes.
[phdru.name/phdru.name.git] / phd_pp_ru.tmpl
index 9e7a2c34aabd43060a640762b660932505ffa8b3..8f9effbda6871a92c33c90a64143fabd676751ed 100644 (file)
@@ -1,19 +1,23 @@
 #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())
 #attr $last_modified_ru = time.strftime("%d.%m.%Y в %T", time.localtime())
 #attr $styles = None
 #attr $alternates = None
-#attr $Tag = None
+#attr $Tag = ()
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
 <html>
 #end if
 #if $Copyright
 #set $full_copyright = $copyright($Copyright)
-<meta name="author" content="Oleg BroytMann">
+#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">
+#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">
+#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">
 #if $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
 #for $media, $style in $styles
@@ -60,10 +90,17 @@ $style
 #end for
 #end if
 #if $alternates
-#for $type, $title, $href in $alternates
-<link rel="alternate" type="$type" title="$title" href="$href">
+#for $title, $type, $href in $alternates
+<link rel="alternate" title="$title" type="$type" href="$href">
 #end for
 #end if
+<link rel="shortcut icon" href="${root}favicon.ico">
+#if not $root
+<link rel="openid.delegate" href="http://phd.pp.ru/">
+<link rel="openid2.local_id" href="http://phd.pp.ru/">
+<link rel="openid.server" href="http://phd.pp.ru/cgi-bin/poit.py">
+<link rel="openid2.provider" href="http://phd.pp.ru/cgi-bin/poit.py">
+#end if
 <meta name="MSSmartTagsPreventParsing" content="TRUE"> <!-- MUST DIE -->
 </head>
 <body bgcolor="#CCCCCC" text="#000000"