Преглед изворни кода

print page description under heading

Thomas Buck пре 1 година
родитељ
комит
7136a924b9
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3
    0
      page.html

+ 3
- 0
page.html Прегледај датотеку

@@ -78,6 +78,9 @@ else:
78 78
                     else:
79 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 84
                 if page.get("date", "") != "":
82 85
                     if page.get("title", "") == "Blog":
83 86
                         if page.get("lang", "en") == "de":

Loading…
Откажи
Сачувај