]> git.phdru.name Git - phdru.name/phdru.name.git/blobdiff - phd_site.tmpl
Fix(phd.py): Change URL for Lurk
[phdru.name/phdru.name.git] / phd_site.tmpl
index 9f3bc64bbbf963cdf8d9de32a8f4fbacab9bfb09..65bb058a079d02463b720786570452ecbeac1367 100644 (file)
@@ -12,7 +12,6 @@
 #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 $local_time = time.localtime()
 #attr $styles = None
 <html>
 <!-- THIS PAGE IS AUTOMATICALLY GENERATED USING CheetahTemplate. DO NOT EDIT. -->
 <head>
+#if $path.startswith("/Russian/")
+<meta HTTP-Equiv="Content-Type" content="text/html; charset=koi8-r">
+#else
 <meta HTTP-Equiv="Content-Type" content="text/html">
-<meta HTTP-Equiv="Content-Location" content="http://phdru.name$path">
+#end if
+<meta HTTP-Equiv="Content-Location" content="https://phdru.name$path">
 <meta HTTP-Equiv="Last-Modified" content="$last_modified_en">
 <title>$Title</title>
 #if $Refresh:
@@ -50,6 +53,7 @@
 <meta name="copyright" content="&copy; $full_copyright PhiloSoft Design">
 <link rel="copyright" href="$copy_href" title="&copy; $full_copyright PhiloSoft Design">
 #end if
+<link rel="canonical" href="https://phdru.name$path">
 <link rev="made" href="mailto:phd@phdru.name">
 <meta name="generator" content="CheetahTemplate">
 <meta name="robots" content="index, follow">
@@ -95,12 +99,6 @@ $style
 #end for
 #end if
 <link rel="shortcut icon" href="${root}favicon.ico">
-#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">
-<link rel="openid2.provider" href="http://home.phdru.name/cgi-bin/poit.py">
-#end if
 <meta name="MSSmartTagsPreventParsing" content="TRUE"> <!-- MUST DIE -->
 </head>
 <body bgcolor="#CCCCCC" text="#000000"
@@ -170,14 +168,14 @@ $link_tag($tag)
 #set $path = $path[:-len("index.html")]
 #end if
 #if $path.startswith("/Russian/")
-<p class="head" style="font-size: 60%">Эта страница <a href="http://phdru.name$path">http://phdru.name$path</a>
+<p class="head" style="font-size: 60%">Эта страница <a href="https://phdru.name$path">https://phdru.name$path</a>
 была сгенерирована $time.strftime("%d.%m.%Y", $local_time) в $time.strftime("%T", $local_time) из шаблона CheetahTemplate
 <a href="$_fileBaseName">$_fileBaseName</a>;
 <a href="${root}Russian/free.html">Некоторые права зарезервированы</a>.
 Вы можете узнать <a href="${root}about/">о</a> <a href="${root}about/technical.html">технических</a>
 аспектах этого сайта.</p>
 #else
-<p class="head" style="font-size: 60%">This is the page <a href="http://phdru.name$path">http://phdru.name$path</a>.
+<p class="head" style="font-size: 60%">This is the page <a href="https://phdru.name$path">https://phdru.name$path</a>.
 It was generated on $last_modified_en from CheetahTemplate <a href="$_fileBaseName">$_fileBaseName</a>.
 <a href="./${root}free.html">Some rights are reserved</a>.
 Read more <a href="${root}about/">about</a> <a href="${root}about/technical.html">technical</a> aspects of the site.