From da1a29778a183627d2ad16c5e6f312b385043461 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 30 Sep 2012 13:18:13 +0000 Subject: [PATCH] refresh => Refresh git-svn-id: file:///home/phd/archive/SVN/phdru.name/scripts@132 7bb0bf08-9e0d-0410-b083-99cee3bf18b8 --- phd_site.tmpl | 6 +++--- reindex_blog.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/phd_site.tmpl b/phd_site.tmpl index 5cfc771..075f8d7 100644 --- a/phd_site.tmpl +++ b/phd_site.tmpl @@ -11,7 +11,7 @@ #attr $Prev = None #attr $Next = None #attr $Last = None -#attr $refresh = None +#attr $Refresh = None #import time #attr $last_modified_en = time.strftime("%a, %d %b %Y %T GMT", time.gmtime()) #attr $last_modified_ru = time.strftime("%d.%m.%Y × %T", time.localtime()) @@ -27,8 +27,8 @@ $Title -#if $refresh: - +#if $Refresh: + #end if #if $Description diff --git a/reindex_blog.py b/reindex_blog.py index f2872c1..3f10016 100755 --- a/reindex_blog.py +++ b/reindex_blog.py @@ -177,7 +177,7 @@ def write_template(level, year, month, day, titles, tags=None): if len(titles) == 1: new_text.append("""\ -#attr $refresh = "0; URL=%s" +#attr $Refresh = "0; URL=%s" """ % titles[0][3]) new_text.append("""\ -- 2.39.5