Quellcode durchsuchen

Moved OtaClock to projects

Thomas Buck vor 8 Jahren
Ursprung
Commit
c789ef8b7d
2 geänderte Dateien mit 6 neuen und 3 gelöschten Zeilen
  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 Datei anzeigen

@@ -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 Datei anzeigen

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

Laden…
Abbrechen
Speichern