]> git.phdru.name Git - phdru.name/phdru.name.git/blobdiff - phd_pp_ru.tmpl
Add alternates links to news/blog feeds.
[phdru.name/phdru.name.git] / phd_pp_ru.tmpl
index a488704873f8c401d66e77f773f616ffeb51bfbb..10da99f6577eb17c9befb4223f35f09eb1dc9c88 100644 (file)
@@ -12,6 +12,7 @@
 #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
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
 <html>
@@ -57,6 +58,11 @@ $style
 --></STYLE>
 #end for
 #end if
+#if $alternates
+#for $type, $title, $href in $alternates
+<link rel="alternate" type="$type" title="$title" href="$href">
+#end for
+#end if
 <meta name="MSSmartTagsPreventParsing" content="TRUE"> <!-- MUST DIE -->
 </head>
 <body bgcolor="#CCCCCC" text="#000000"