Browse Source

Moved OtaClock to projects

Thomas Buck 9 years ago
parent
commit
c789ef8b7d
2 changed files with 6 additions and 3 deletions
  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 View File

@@ -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 View File

@@ -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…
Cancel
Save