瀏覽代碼

Moved OtaClock to projects

Thomas Buck 9 年之前
父節點
當前提交
c789ef8b7d
共有 2 個檔案被更改,包括 6 行新增3 行删除
  1. 2
    2
      input/blog/2015/2015_08_31_otaclock.md
  2. 4
    1
      input/projects.md

+ 2
- 2
input/blog/2015/2015_08_31_otaclock.md 查看文件

@@ -5,8 +5,8 @@ comments: true
5 5
 flattr: true
6 6
 twitter: xythobuz
7 7
 github: https://github.com/xythobuz/OtaClock
8
-parent: stuff
9
-position: 88
8
+parent: projects
9
+position: 40
10 10
 ---
11 11
 
12 12
 ## {{ page["post"] }}

+ 4
- 1
input/projects.md 查看文件

@@ -9,7 +9,10 @@ position: 30
9 9
 mpages = [p for p in pages if p.get("parent", "") == "projects" and p.lang == "en"]
10 10
 mpages.sort(key=lambda p: int(p["position"]))
11 11
 for p in mpages:
12
-    print "  * **[%s](%s)**" % (p.title, p.url) # markdown list item
12
+    if p.title == "Blog":
13
+        print "  * **[%s](%s)**" % (p.post, p.url) # markdown list item
14
+    else:
15
+        print "  * **[%s](%s)**" % (p.title, p.url) # markdown list item
13 16
 %-->
14 17
 
15 18
 ### Abandoned Projects

Loading…
取消
儲存