]> git.phdru.name Git - phdru.name/phdru.name.git/commitdiff
Emit lowercase tags.
authorOleg Broytman <phd@phdru.name>
Mon, 14 May 2007 13:32:43 +0000 (13:32 +0000)
committerOleg Broytman <phd@phdru.name>
Mon, 14 May 2007 13:32:43 +0000 (13:32 +0000)
git-svn-id: file:///home/phd/archive/SVN/phdru.name/scripts@61 7bb0bf08-9e0d-0410-b083-99cee3bf18b8

reindex_blog.py

index b422784b960c85c9721b3eec07fa57f81d4d5057..8f23ebd08941cdd884a6f75a77651f22648e4f85 100755 (executable)
@@ -132,7 +132,7 @@ def write_template(level, year, month, day, titles, tags=None):
 )
 ##
 #def body_html
-<H1>Журнал</H1>
+<h1>Журнал</h1>
 """ % {"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
-<H1>Журнал: %(year)s</H1>
+<h1>Журнал: %(year)s</h1>
 """ % {"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
-<H1>Журнал: %(month_name_ru0)s %(year)s</H1>
+<h1>Журнал: %(month_name_ru0)s %(year)s</h1>
 """ % {
       "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
-<H1>Журнал: %(day)d %(month_name_ru)s %(year)s</H1>
+<h1>Журнал: %(day)d %(month_name_ru)s %(year)s</h1>
 """ % {
       "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
-<H1>Теги</H1>
+<h1>Теги</h1>
 
 <p class="head">
 <dl>
@@ -347,7 +347,7 @@ for count, tag, links in all_tags:
 #attr $Copyright = 2006
 ##
 #def body_html
-<H1>%s</H1>
+<h1>%s</h1>
 
 <p class="head">
 <ul>