From 85203d22a835c17a9e9b804779a265f0bea7ff14 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 14 May 2007 13:32:43 +0000 Subject: [PATCH] Emit lowercase tags. git-svn-id: file:///home/phd/archive/SVN/phdru.name/scripts@61 7bb0bf08-9e0d-0410-b083-99cee3bf18b8 --- reindex_blog.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/reindex_blog.py b/reindex_blog.py index b422784..8f23ebd 100755 --- a/reindex_blog.py +++ b/reindex_blog.py @@ -132,7 +132,7 @@ def write_template(level, year, month, day, titles, tags=None): ) ## #def body_html -

öÕÒÎÁÌ

+

öÕÒÎÁÌ

""" % {"cyear": year or 2005}) elif level == 1: @@ -142,7 +142,7 @@ def write_template(level, year, month, day, titles, tags=None): #attr $Copyright = %(cyear)s ## #def body_html -

öÕÒÎÁÌ: %(year)s

+

öÕÒÎÁÌ: %(year)s

""" % {"year": year, "cyear": year or 2005}) elif level == 2: @@ -153,7 +153,7 @@ def write_template(level, year, month, day, titles, tags=None): #attr $Copyright = %(cyear)s ## #def body_html -

öÕÒÎÁÌ: %(month_name_ru0)s %(year)s

+

öÕÒÎÁÌ: %(month_name_ru0)s %(year)s

""" % { "year": year, "cyear": year or 2005, "month_abbr_en": months_abbrs_en[imonth], "month_name_en": months_names_en[imonth], @@ -180,7 +180,7 @@ def write_template(level, year, month, day, titles, tags=None): #attr $Copyright = %(cyear)s ## #def body_html -

öÕÒÎÁÌ: %(day)d %(month_name_ru)s %(year)s

+

öÕÒÎÁÌ: %(day)d %(month_name_ru)s %(year)s

""" % { "year": year, "cyear": year or 2005, "month_abbr_en": months_abbrs_en[imonth], "month_name_en": months_names_en[imonth], @@ -327,7 +327,7 @@ new_text = ["""\ #attr $Copyright = 2006 ## #def body_html -

ôÅÇÉ

+

ôÅÇÉ

@@ -347,7 +347,7 @@ for count, tag, links in all_tags: #attr $Copyright = 2006 ## #def body_html -

%s

+

%s