add zsh-comp-tut (ru)

add tag hasTr
This commit is contained in:
arcan1s
2014-07-17 23:15:59 +04:00
parent 760d8108b9
commit 4449b24cf2
40 changed files with 344 additions and 11 deletions

View File

@ -1,16 +1,20 @@
<p>
{% if page.category == "ru" %}
{% if page.type == "paper" %}
{% if page.hasTr == true %}
{% if page.type == "paper" %}
<a href="{{ page.url | replace: '/ru/', '/en/' }}"><img src="/resources/en.png"></a>
{% else %}
{% 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.type == "paper" %}
{% if page.hasTr == true %}
{% if page.type == "paper" %}
<a href="{{ page.url | replace: '/en/', '/ru/' }}"><img src="/resources/ru.png"></a>
{% else %}
{% 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 %}