Sfoglia il codice sorgente

print page description under heading

Thomas Buck 1 anno fa
parent
commit
7136a924b9
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3
    0
      page.html

+ 3
- 0
page.html Vedi File

@@ -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…
Annulla
Salva