From: Oleg Broytman Date: Wed, 8 Mar 2006 20:31:07 +0000 (+0000) Subject: dl/dt/dd lists for tags index; ul lists for tag files. X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=f9f354b874097bd98f14e751492d2d0fb186868b;p=phdru.name%2Fphdru.name.git dl/dt/dd lists for tags index; ul lists for tag files. git-svn-id: file:///home/phd/archive/SVN/phdru.name/scripts@20 7bb0bf08-9e0d-0410-b083-99cee3bf18b8 --- diff --git a/reindex_blog.py b/reindex_blog.py index f554bc3..44647bf 100755 --- a/reindex_blog.py +++ b/reindex_blog.py @@ -298,11 +298,14 @@ new_text = ["""\ ## #def body_html

ôÅÇÉ

+ +

+

"""] for count, tag, links in all_tags: - new_text.append(""" -

%s (%d)

+ new_text.append("""\ +
%s (%d)
""" % (tag, tag, count)) tag_text = ["""\ @@ -315,21 +318,33 @@ for count, tag, links in all_tags: ## #def body_html

%s

+ +

+

+

#end def $phd_pp_ru.respond(self) """) write_if_changed(os.path.join("tags", tag+".tmpl"), ''.join(tag_text)) new_text.append("""\ +
+

#end def $phd_pp_ru.respond(self) """)