X-Git-Url: https://git.phdru.name/?p=phdru.name%2Fphdru.name.git;a=blobdiff_plain;f=phd_site.tmpl;h=0568b49090046382724192633240900f9d3feee3;hp=c170a28251544ed488c89514b7ff0624f65e00fa;hb=HEAD;hpb=aab9d0d73047ef9105705dc50fb27231580276c4 diff --git a/phd_site.tmpl b/phd_site.tmpl index c170a28..67eb341 100644 --- a/phd_site.tmpl +++ b/phd_site.tmpl @@ -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 @@ -28,7 +27,7 @@ #else #end if - + $Title #if $Refresh: @@ -54,7 +53,7 @@ #end if - + @@ -100,12 +99,6 @@ $style #end for #end if -#if not $root and $path.endswith('index.html') - - - - -#end if $body +#from urllib import quote +#def encode_tag(tag): +$quote(tag.decode('utf-8').encode('koi8-r').replace(' ', '_')) +#end def #def link_tag($tag) -$tag +$tag #end def #if $Tag
@@ -175,14 +172,14 @@ $link_tag($tag) #set $path = $path[:-len("index.html")] #end if #if $path.startswith("/Russian/") -

üÔÁ ÓÔÒÁÎÉÃÁ http://phdru.name$path +

üÔÁ ÓÔÒÁÎÉÃÁ https://phdru.name$path ÂÙÌÁ ÓÇÅÎÅÒÉÒÏ×ÁÎÁ $time.strftime("%d.%m.%Y", $local_time) × $time.strftime("%T", $local_time) ÉÚ ÛÁÂÌÏÎÁ CheetahTemplate $_fileBaseName; îÅËÏÔÏÒÙÅ ÐÒÁ×Á ÚÁÒÅÚÅÒ×ÉÒÏ×ÁÎÙ. ÷Ù ÍÏÖÅÔÅ ÕÚÎÁÔØ Ï ÔÅÈÎÉÞÅÓËÉÈ ÁÓÐÅËÔÁÈ ÜÔÏÇÏ ÓÁÊÔÁ.

#else -

This is the page http://phdru.name$path. +

This is the page https://phdru.name$path. It was generated on $last_modified_en from CheetahTemplate $_fileBaseName. Some rights are reserved. Read more about technical aspects of the site.