Explorar el Código

Added Language Site

Thomas Buck hace 11 años
padre
commit
2c4e551715
Se han modificado 4 ficheros con 12 adiciones y 5 borrados
  1. 2
    2
      input/hardware.md
  2. 7
    0
      input/language.md
  3. 2
    2
      input/software.md
  4. 1
    1
      page.html

+ 2
- 2
input/hardware.md Ver fichero

@@ -4,7 +4,7 @@ position: 4
4 4
 compat: hw
5 5
 ---
6 6
 
7
-# Software
7
+# {{ page.title }}
8 8
 
9 9
 These are my mostly hardware-related projects and articles.
10 10
 
@@ -17,7 +17,7 @@ for p in mpages:
17 17
 
18 18
 lang: de
19 19
 
20
-# Software
20
+# {{ page.title }}
21 21
 
22 22
 Dies sind meine Projekte, deren Schwerpunkt eher im Bereich Hardware liegen.
23 23
 

+ 7
- 0
input/language.md Ver fichero

@@ -0,0 +1,7 @@
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.

+ 2
- 2
input/software.md Ver fichero

@@ -4,7 +4,7 @@ position: 3
4 4
 compat: sw
5 5
 ---
6 6
 
7
-# Software
7
+# {{ page.title }}
8 8
 
9 9
 These are my mostly software-related projects and articles.
10 10
 
@@ -17,7 +17,7 @@ for p in mpages:
17 17
 
18 18
 lang: de
19 19
 
20
-# Software
20
+# {{ page.title }}
21 21
 
22 22
 Dies sind meine Projekte, deren Schwerpunkt eher im Bereich Software liegen.
23 23
 

+ 1
- 1
page.html Ver fichero

@@ -73,7 +73,7 @@
73 73
                 <li><a href="http://xythobuz.de/lastmusic">♫</a></li>
74 74
                 <li class="divider-vertical"></li>
75 75
                 <!--%
76
-                        print '<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Language<b class="caret"></b></a><ul class="dropdown-menu">'
76
+                        print '<li class="dropdown"><a href="language.html" class="dropdown-toggle" data-toggle="dropdown">Language<b class="caret"></b></a><ul class="dropdown-menu">'
77 77
                         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<")
78 78
                         print "</ul></li>"
79 79
                         print ''

Loading…
Cancelar
Guardar