浏览代码

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":

正在加载...
取消
保存