Thomas Buck 11 anos atrás
pai
commit
3b91de8a01
6 arquivos alterados com 7 adições e 62 exclusões
  1. 1
    19
      input/blog.md
  2. 1
    31
      input/contact.md
  3. 0
    7
      input/unlisted/language.md
  4. 5
    5
      page.html
  5. BIN
      static/img/de.png
  6. BIN
      static/img/en.png

+ 1
- 19
input/blog.md Ver arquivo

@@ -6,7 +6,7 @@ priority: 0.8
6 6
 compat: blog
7 7
 ---
8 8
 
9
-# Blog Archive
9
+### Blog Archive
10 10
 
11 11
 To receive my latest updates, you can subscribe to the [RSS Feed! ![RSS Logo][logo]][rss]
12 12
 
@@ -20,22 +20,4 @@ for p in posts:
20 20
 %-->
21 21
 
22 22
  [rss]: rss.xml
23
- [logo]: img/rss.png
24
-
25
-lang: de
26
-
27
-# Blog Archiv
28
-
29
-Um über meine neuesten Artikel informiert zu werden, abonniere meinen [RSS Feed! ![RSS Logo][logo]][rss]
30
-
31
-<!--%
32
-from datetime import datetime
33
-posts = [p for p in pages if "post" in p] # get all blog post pages
34
-posts.sort(key=lambda p: p.get("date"), reverse=True) # sort post pages by date
35
-for p in posts:
36
-    date = datetime.strptime(p.date, "%Y-%m-%d").strftime("%d %B %Y")
37
-    print "  * **[%s](%s)** - %s" % (p.post, p.url, date) # markdown list item
38
-%-->
39
-
40
- [rss]: rss.xml
41 23
  [logo]: img/rss.png

+ 1
- 31
input/contact.md Ver arquivo

@@ -4,7 +4,7 @@ position: 2
4 4
 compat: kontakt
5 5
 ---
6 6
 
7
-# {{ page.title }}
7
+### {{ page.title }}
8 8
 
9 9
 You can always use this [PGP Key][1]
10 10
 
@@ -30,34 +30,4 @@ Vimeo: [xythobuz][5]
30 30
  [2]: https://twitter.com/xythobuz
31 31
  [3]: https://www.facebook.com/vballert
32 32
  [4]: http://www.youtube.com/user/xythobuz
33
- [5]: https://vimeo.com/xythobuz
34
-
35
-lang: de
36
-
37
-# Kontakt
38
-
39
-Du kannst immer diesen [PGP Key][1] nutzen!
40
-
41
-Mail: <xythobuz@xythobuz.de>
42
-
43
-Jabber: xythobuz@jabber.ccc.de
44
-
45
-Skype: xythobuz
46
-
47
-ICQ: 347449811
48
-
49
-Twitter: [@xythobuz][2]
50
-
51
-Facebook: [Ver Ballert][3]
52
-
53
-PSN: xythobuz
54
-
55
-Youtube: [xythobuz][4]
56
-
57
-Vimeo: [xythobuz][5]
58
-
59
- [1]: files/xythobuz.gpg
60
- [2]: https://twitter.com/xythobuz
61
- [3]: https://www.facebook.com/vballert
62
- [4]: http://www.youtube.com/user/xythobuz
63 33
  [5]: https://vimeo.com/xythobuz

+ 0
- 7
input/unlisted/language.md Ver arquivo

@@ -1,7 +0,0 @@
1
-title: Language
2
-parent: none
3
----
4
-
5
-### {{ page.title }}
6
-
7
-You should only reach this page if your Javascript is disabled, and you clicked on the Language link. To reach the german version of an article, just add .de before .html in the URL bar.

+ 5
- 5
page.html Ver arquivo

@@ -51,11 +51,11 @@
51 51
             %-->
52 52
             <li><a href="http://xythobuz.de/lastmusic">♫</a></li>
53 53
             <!--%
54
-                #tmp = [p for p in page["lang_links"].iteritems()]
55
-                #if len(tmp) > 1:
56
-                    #print '<li class="dropdown"><a href="language.html" class="dropdown-toggle" data-toggle="dropdown">Language<b class="caret"></b></a><ul class="dropdown-menu">'
57
-                    #print " ".join(["<li><a href='%s'>%s</a></li>" % (url, lang) for lang, url in page["lang_links"].iteritems()]).replace(">en<", ">English<").replace(">de<", ">Deutsch<")
58
-                    #print "</ul></li>"
54
+                tmp = [p for p in page["lang_links"].iteritems()]
55
+                if len(tmp) > 1:
56
+                    print '<li>'
57
+                    print " ".join(["<li><a href='%s'>%s</a></li>" % (url, lang) for lang, url in page["lang_links"].iteritems()]).replace(">en<", '><img src="img/en.png" alt="English"><').replace(">de<", '><img src="img/de.png" alt="Deutsch"><')
58
+                    print "</li>"
59 59
             %-->
60 60
         </ul>
61 61
     </div>

BIN
static/img/de.png Ver arquivo


BIN
static/img/en.png Ver arquivo


Carregando…
Cancelar
Salvar