Browse Source

print page description under heading

Thomas Buck 2 years ago
parent
commit
7136a924b9
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      page.html

+ 3
- 0
page.html View File

78
                     else:
78
                     else:
79
                         print "<h1>%s</h1>" % (page.get("title", ""))
79
                         print "<h1>%s</h1>" % (page.get("title", ""))
80
 
80
 
81
+                if page.get("description", "") != "":
82
+                    print "<h5>%s</h5>" % (page.get("description", ""))
83
+
81
                 if page.get("date", "") != "":
84
                 if page.get("date", "") != "":
82
                     if page.get("title", "") == "Blog":
85
                     if page.get("title", "") == "Blog":
83
                         if page.get("lang", "en") == "de":
86
                         if page.get("lang", "en") == "de":

Loading…
Cancel
Save