fixed redirection

This commit is contained in:
arcan1s
2014-01-16 22:55:17 +04:00
parent 4aded9cc11
commit 13661ada27
2 changed files with 72 additions and 1 deletions

View File

@ -41,7 +41,11 @@
{% endif %}
{% if page.category == "ru" %}
<small>Расположено на GitHub Pages. <a href="/ru/authors">Авторы</a></small></p>
<p><a href="{{ page.url | replace: '/ru/', '/' }}"><img src="/resources/en.png"></a></p>
{% if page.title == "arcanis" %}
<p><a href="/en/"><img src="/resources/en.png"></a></p>
{% else %}
<p><a href="{{ page.url | replace: '/ru/', '/' }}"><img src="/resources/en.png"></a></p>
{% endif %}
{% else %}
<small>Hosted on GitHub Pages. <a href="/authors">Authors</a></small></p>
<p><a href="/ru{{ page.url }}"><img src="/resources/ru.png"></a></p>