From f9f354b874097bd98f14e751492d2d0fb186868b Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 8 Mar 2006 20:31:07 +0000 Subject: [PATCH] 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 --- reindex_blog.py | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) 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) """) -- 2.39.2