From 01df0d0502643cc3845cf3a36dcf8c133da06b97 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Tue, 24 Feb 2015 15:40:25 +0100 Subject: [PATCH] Alternative links for multilanguage documents. --- _layouts/default.html | 7 +++++++ know-how/hacking/_posts/2009-10-30-bios-passwords-de.md | 3 +++ know-how/hacking/_posts/2009-10-30-bios-passwords.md | 3 +++ 3 files changed, 13 insertions(+) diff --git a/_layouts/default.html b/_layouts/default.html index 5d44bd5..d20f836 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -10,6 +10,13 @@ + {% if page.alternatives %} + + {% for altpost in page.alternatives %} + + {% endfor %} + {% endif %} + {{ page.title }} :: {{ site.name }} diff --git a/know-how/hacking/_posts/2009-10-30-bios-passwords-de.md b/know-how/hacking/_posts/2009-10-30-bios-passwords-de.md index 2237e18..556f4c8 100644 --- a/know-how/hacking/_posts/2009-10-30-bios-passwords-de.md +++ b/know-how/hacking/_posts/2009-10-30-bios-passwords-de.md @@ -1,6 +1,9 @@ --- title: BIOS Passwörter language: de +alternatives: + - language: en + url: /know-how/hacking/bios-passwords.html layout: default created: 2008-07-18 01:36:55 +0200 updated: 2009-10-30 22:53:14 +0100 diff --git a/know-how/hacking/_posts/2009-10-30-bios-passwords.md b/know-how/hacking/_posts/2009-10-30-bios-passwords.md index c25b14b..f1f7bd9 100644 --- a/know-how/hacking/_posts/2009-10-30-bios-passwords.md +++ b/know-how/hacking/_posts/2009-10-30-bios-passwords.md @@ -1,6 +1,9 @@ --- title: BIOS Passwords language: en +alternatives: + - language: de + url: /know-how/hacking/bios-passwords-de.html layout: default created: 2008-07-16 00:44:43 +0200 updated: 2009-10-30 22:53:46 +0100