]> git.phdru.name Git - phdru.name/phdru.name.git/blobdiff - phd_site.tmpl
phd.pp.ru => phdru.name.
[phdru.name/phdru.name.git] / phd_site.tmpl
diff --git a/phd_site.tmpl b/phd_site.tmpl
new file mode 100644 (file)
index 0000000..bf636a4
--- /dev/null
@@ -0,0 +1,150 @@
+#encoding koi8-r
+#extends phd
+#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 = ()
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+   "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<!-- THIS PAGE IS AUTOMATICALLY GENERATED USING CheetahTemplate. DO NOT EDIT. -->
+<head>
+<meta HTTP-Equiv="Content-Type" content="text/html">
+<meta HTTP-Equiv="Content-Location" content="http://phdru.name$path">
+<meta HTTP-Equiv="Last-Modified" content="$last_modified_en">
+<title>$Title</title>
+#if $refresh:
+<meta HTTP-Equiv="Refresh" content="$refresh">
+#end if
+#if $Description
+<meta name="description" content="$Description">
+#end if
+#if $Keywords
+<meta name="keywords" content="$Keywords">
+#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="$copy_href" title="&copy; $full_copyright PhiloSoft Design">
+#end if
+<link rev="made" href="mailto:phd@phdru.name">
+<meta name="generator" content="CheetahTemplate">
+<meta name="robots" content="index, follow">
+#if $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">
+#end if
+#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
+<STYLE type="text/css" media="$media">
+<!--
+$style
+--></STYLE>
+#end for
+#end if
+#if $alternates
+#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://phdru.name/">
+<link rel="openid2.local_id" href="http://phdru.name/">
+<link rel="openid.server" href="http://phdru.name/cgi-bin/poit.py">
+<link rel="openid2.provider" href="http://phdru.name/cgi-bin/poit.py">
+#end if
+<meta name="MSSmartTagsPreventParsing" content="TRUE"> <!-- MUST DIE -->
+</head>
+<body bgcolor="#CCCCCC" text="#000000"
+      link="#0000bb"  vlink="#551a8b" alink="#ff0000">
+$body
+#def link_tag($tag)
+<a href="../../../tags/${tag}.html">$tag</a>
+#end def
+#if $Tag
+<hr width="90%">
+#if isinstance($Tag, basestring)
+#if $path.startswith("/Russian/")
+Тег:
+#else
+Tag:
+#end if
+$link_tag($Tag)
+#else
+#if $path.startswith("/Russian/")
+Теги:
+#else
+Tags:
+#end if
+#for $tag in $Tag
+$link_tag($tag)
+#end for
+#end if
+#end if
+<hr width="90%">
+#if $path.endswith("index.html")
+#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>
+была сгенерирована $last_modified_ru из шаблона 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>.
+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.
+</p>
+#end if
+</body>
+</html>#slurp