|
@@ -27,8 +27,8 @@ difference_in_years = date_as_float(end_date) - date_as_float(start_date)
|
27
|
27
|
|
28
|
28
|
print int(difference_in_years)
|
29
|
29
|
|
30
|
|
-%--> year old Information Engineering student from Germany, mostly building stuff with AVR microcontrollers.
|
31
|
|
-All of my projects are released as [Free Software](http://www.gnu.org/philosophy/free-sw.html) on my [GitHub profile](https://github.com/xythobuz), with more informations here. Have fun!
|
|
30
|
+%--> year old hard- and software developer from Germany.
|
|
31
|
+All of my projects are released as free or open-source software on my [GitHub profile](https://github.com/xythobuz), with more information here. Have fun!
|
32
|
32
|
|
33
|
33
|
### Recent Blog Posts
|
34
|
34
|
|
|
@@ -36,7 +36,7 @@ All of my projects are released as [Free Software](http://www.gnu.org/philosophy
|
36
|
36
|
from datetime import datetime
|
37
|
37
|
posts = [p for p in pages if "post" in p] # get all blog post pages
|
38
|
38
|
posts.sort(key=lambda p: p.get("date"), reverse=True) # sort post pages by date
|
39
|
|
-for p in posts[0:4]:
|
|
39
|
+for p in posts[0:5]:
|
40
|
40
|
date = datetime.strptime(p.date, "%Y-%m-%d").strftime("%B %d, %Y")
|
41
|
41
|
print " * **[%s](%s)** - %s" % (p.post, p.url, date) # markdown list item
|
42
|
42
|
%-->
|