X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=phd_pp_ru.tmpl;h=2ede5d4c4ef9267e7a0356c23a50602a7a00bc8c;hb=d68f2dd8fdab1ec22049d14f274ec34a2ed8431f;hp=ddc19c41bac9a406d82b78613825354e09c7c9f2;hpb=c2709acd85c0dbadc2803ef7d2204bfd5a0a703d;p=phdru.name%2Fphdru.name.git diff --git a/phd_pp_ru.tmpl b/phd_pp_ru.tmpl index ddc19c4..2ede5d4 100644 --- a/phd_pp_ru.tmpl +++ b/phd_pp_ru.tmpl @@ -5,8 +5,11 @@ #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()) @@ -34,15 +37,35 @@ #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 @@ -50,6 +73,12 @@ #if $Next #end if +#if $Last + +#end if +#if $path != "/search.html" + +#end if #if $styles #for $media, $style in $styles @@ -60,10 +89,17 @@ $style #end for #end if #if $alternates -#for $type, $title, $href in $alternates - +#for $title, $type, $href in $alternates + #end for #end if + +#if not $root + + + + +#end if