X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=phd_pp_ru.tmpl;h=2ede5d4c4ef9267e7a0356c23a50602a7a00bc8c;hb=3cb0903ad684d4dcdd70adb6b3b0f4ea2c2056ee;hp=c87bfce900a14907061cb2542a122db3d0dd6df5;hpb=a024788d10259bae7f6cd138435959167cdce7ce;p=phdru.name%2Fphdru.name.git diff --git a/phd_pp_ru.tmpl b/phd_pp_ru.tmpl index c87bfce..2ede5d4 100644 --- a/phd_pp_ru.tmpl +++ b/phd_pp_ru.tmpl @@ -6,8 +6,10 @@ #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()) @@ -35,25 +37,47 @@ #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 + - + #end if - + #if $root - - +#if $path.endswith('index.html') + +#else + +#end if #end if #if $Start - + +#elif not $path.endswith('index.html') + +#end if +#if $First + #end if #if $Prev - + #end if #if $Next - + +#end if +#if $Last + +#end if +#if $path != "/search.html" + #end if #if $styles