mirror of
https://github.com/arcan1s/arcanis.me.git
synced 2025-07-22 17:09:56 +00:00
fixed bug with ru-en papers
This commit is contained in:
@ -41,10 +41,18 @@
|
||||
{% 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.type == "paper" %}
|
||||
<p><a href="{{ page.url | replace: '/ru/', '/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>
|
||||
{% if page.type == "paper" %}
|
||||
<p><a href="{{ page.url | replace: '/en/', '/ru/' }}"><img src="/resources/en.png"></a></p>
|
||||
{% else %}
|
||||
<p><a href="/ru{{ page.url }}"><img src="/resources/ru.png"></a></p>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</footer>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user