1
0
mirror of https://github.com/mbirth/wiki.git synced 2024-12-24 22:54:09 +00:00

Fix missing site.url.

This commit is contained in:
Markus Birth 2015-02-24 15:41:36 +01:00
parent 01df0d0502
commit c4feebaa63

View File

@ -11,7 +11,7 @@
<link rel="stylesheet" type="text/css" href="{{ site.url }}/css/custom.css" media="all" /> <link rel="stylesheet" type="text/css" href="{{ site.url }}/css/custom.css" media="all" />
{% if page.alternatives %} {% if page.alternatives %}
<link rel="alternate" hreflang="{{ page.language }}" href="{{ page.url }}" /> <link rel="alternate" hreflang="{{ page.language }}" href="{{ site.url }}{{ page.url }}" />
{% for altpost in page.alternatives %} {% for altpost in page.alternatives %}
<link rel="alternate" hreflang="{{ altpost.language }}" href="{{ site.url }}{{ altpost.url }}" /> <link rel="alternate" hreflang="{{ altpost.language }}" href="{{ site.url }}{{ altpost.url }}" />
{% endfor %} {% endfor %}