mirror of
https://github.com/mbirth/wiki.git
synced 2024-11-09 13:16:45 +00:00
Alternative links for multilanguage documents.
This commit is contained in:
parent
bb35e87b7d
commit
01df0d0502
@ -10,6 +10,13 @@
|
||||
<link rel="stylesheet" type="text/css" href="{{ site.url }}/css/print.css" media="print" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ site.url }}/css/custom.css" media="all" />
|
||||
|
||||
{% if page.alternatives %}
|
||||
<link rel="alternate" hreflang="{{ page.language }}" href="{{ page.url }}" />
|
||||
{% for altpost in page.alternatives %}
|
||||
<link rel="alternate" hreflang="{{ altpost.language }}" href="{{ site.url }}{{ altpost.url }}" />
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
<title>{{ page.title }} :: {{ site.name }}</title>
|
||||
|
||||
<script src="{{ site.url }}/bower_components/jquery/dist/jquery.min.js" type="text/javascript"></script>
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user