X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=phd_pp_ru.tmpl;h=d78f55db41f8f9ba5b9a3b354e1c70ffed2dfd1c;hb=91febbbbaed6330bf64dd711f4d4a101501b8126;hp=10da99f6577eb17c9befb4223f35f09eb1dc9c88;hpb=664d99721302de12a736dc480a340b209b5720e8;p=phdru.name%2Fphdru.name.git diff --git a/phd_pp_ru.tmpl b/phd_pp_ru.tmpl index 10da99f..d78f55d 100644 --- a/phd_pp_ru.tmpl +++ b/phd_pp_ru.tmpl @@ -13,6 +13,7 @@ #attr $last_modified_ru = time.strftime("%d.%m.%Y × %T", time.localtime()) #attr $styles = None #attr $alternates = None +#attr $Tag = None @@ -68,10 +69,33 @@ $style $body +#def link_tag($tag) +$tag +#end def +#if $Tag +
+#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 +
#if $path.endswith("index.html") #set $path = $path[:-len("index.html")] #end if -
#if $path.startswith("/Russian/")

üÔÁ ÓÔÒÁÎÉÃÁ http://phd.pp.ru$path ÂÙÌÁ ÓÇÅÎÅÒÉÒÏ×ÁÎÁ $last_modified_ru ÉÚ ÛÁÂÌÏÎÁ CheetahTemplate $_fileBaseName;