|
@@ -73,12 +73,20 @@ else:
|
73
|
73
|
print "<h1>%s</h1>" % (page.get("title", ""))
|
74
|
74
|
|
75
|
75
|
if page.get("date", "") != "":
|
76
|
|
- if page.get("lang", "en") == "de":
|
77
|
|
- date = datetime.strptime(page["date"], "%Y-%m-%d").strftime("%d.%m.%Y")
|
78
|
|
- print "<i>Veröffentlicht am %s.</i>" % date
|
|
76
|
+ if page.get("title", "") == "Blog":
|
|
77
|
+ if page.get("lang", "en") == "de":
|
|
78
|
+ date = datetime.strptime(page["date"], "%Y-%m-%d").strftime("%d.%m.%Y")
|
|
79
|
+ print "<i>Veröffentlicht am %s.</i>" % date
|
|
80
|
+ else:
|
|
81
|
+ date = datetime.strptime(page["date"], "%Y-%m-%d").strftime("%B %d, %Y")
|
|
82
|
+ print "<i>Published on %s.</i>" % date
|
79
|
83
|
else:
|
80
|
|
- date = datetime.strptime(page["date"], "%Y-%m-%d").strftime("%B %d, %Y")
|
81
|
|
- print "<i>Published at %s.</i>" % date
|
|
84
|
+ if page.get("lang", "en") == "de":
|
|
85
|
+ date = datetime.strptime(page["date"], "%Y-%m-%d").strftime("%d.%m.%Y")
|
|
86
|
+ print "<i>Projekt gestartet am %s.</i>" % date
|
|
87
|
+ else:
|
|
88
|
+ date = datetime.strptime(page["date"], "%Y-%m-%d").strftime("%B %d, %Y")
|
|
89
|
+ print "<i>Project started on %s.</i>" % date
|
82
|
90
|
|
83
|
91
|
if page.get("date", "") != "" and page.get("update", "") != "":
|
84
|
92
|
print "<br>"
|
|
@@ -89,7 +97,7 @@ else:
|
89
|
97
|
print "<i>Zuletzt aktualisiert am %s.</i>" % date
|
90
|
98
|
else:
|
91
|
99
|
date = datetime.strptime(page["update"], "%Y-%m-%d").strftime("%B %d, %Y")
|
92
|
|
- print "<i>Last updated at %s.</i>" % date
|
|
100
|
+ print "<i>Last updated on %s.</i>" % date
|
93
|
101
|
%-->
|
94
|
102
|
{{ __content__ }}
|
95
|
103
|
<hr>
|
|
@@ -118,10 +126,6 @@ else:
|
118
|
126
|
·
|
119
|
127
|
<a href="http://www.amazon.de/?_encoding=UTF8&camp=1638&creative=19454&linkCode=ur2&site-redirect=de&tag=xythobuzorg-21">Amazon.de Affiliate</a>
|
120
|
128
|
·
|
121
|
|
- <a href="http://www.amazon.de/registry/wishlist/1TURV4XV2J3VT">Amazon.de Wishlist</a>
|
122
|
|
- ·
|
123
|
|
- <a href="http://steamcommunity.com/id/xythobuz/wishlist/?sort=price">Steam Wishlist</a>
|
124
|
|
- ·
|
125
|
129
|
<a href="https://www.paypal.com/us/cgi-bin/webscr?cmd=_send-money&nav=1&email=xythobuz@me.com">PayPal</a>
|
126
|
130
|
</div>
|
127
|
131
|
<script type="text/javascript" src="js/jquery.min.js"></script>
|