arcanis.me/_includes/footer_sign.html
arcan1s 4449b24cf2 add zsh-comp-tut (ru)
add tag hasTr
2014-07-17 23:15:59 +04:00

22 lines
819 B
HTML

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