]> git.phdru.name Git - phdru.name/phdru.name.git/commitdiff
refresh => Refresh
authorOleg Broytman <phd@phdru.name>
Sun, 30 Sep 2012 13:18:13 +0000 (13:18 +0000)
committerOleg Broytman <phd@phdru.name>
Sun, 30 Sep 2012 13:18:13 +0000 (13:18 +0000)
git-svn-id: file:///home/phd/archive/SVN/phdru.name/scripts@132 7bb0bf08-9e0d-0410-b083-99cee3bf18b8

phd_site.tmpl
reindex_blog.py

index 5cfc7719f8ad1cef37ee271a6aa786ee9c1bc948..075f8d71671cd029d4890b60c0916cfd94280c78 100644 (file)
@@ -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 @@
 <meta HTTP-Equiv="Content-Location" content="http://phdru.name$path">
 <meta HTTP-Equiv="Last-Modified" content="$last_modified_en">
 <title>$Title</title>
-#if $refresh:
-<meta HTTP-Equiv="Refresh" content="$refresh">
+#if $Refresh:
+<meta HTTP-Equiv="Refresh" content="$Refresh">
 #end if
 #if $Description
 <meta name="description" content="$Description">
index f2872c17861574f57f724eb8cdf236543770189f..3f10016e569d1d79daaaa2fc97b46150356501b9 100755 (executable)
@@ -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("""\