mirror of
https://github.com/arcan1s/arcanis.me.git
synced 2025-04-24 23:37:19 +00:00
fixed bug with ru-en papers
This commit is contained in:
parent
a3cfb820aa
commit
2718a25b8f
@ -41,10 +41,18 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if page.category == "ru" %}
|
{% if page.category == "ru" %}
|
||||||
<small>Расположено на GitHub Pages. <a href="/ru/authors">Авторы</a></small></p>
|
<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 %}
|
{% else %}
|
||||||
<small>Hosted on GitHub Pages. <a href="/authors">Authors</a></small></p>
|
<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 %}
|
{% endif %}
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
category: en
|
category: en
|
||||||
|
type: paper
|
||||||
layout: paper
|
layout: paper
|
||||||
last: 14 January 2014
|
last: 14 January 2014
|
||||||
tags: zshrc, configuration, linux
|
tags: zshrc, configuration, linux
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
category: ru
|
category: ru
|
||||||
|
type: paper
|
||||||
layout: paper
|
layout: paper
|
||||||
last: 14 January 2014
|
last: 14 January 2014
|
||||||
tags: zshrc, настройка, linux
|
tags: zshrc, настройка, linux
|
||||||
@ -403,4 +404,4 @@ hash -d u2=/mnt/usbdev2</pre>
|
|||||||
<p align="justify"><a href="/resources/screenshots/zshrc_demo.png"><img src="/resources/preview/zshrc_demo_prev.jpg"></a></p>
|
<p align="justify"><a href="/resources/screenshots/zshrc_demo.png"><img src="/resources/preview/zshrc_demo_prev.jpg"></a></p>
|
||||||
|
|
||||||
<h3><a name="file" class="anchor" href="#file"><span class="octicon octicon-link"></span></a>Файл</h2>
|
<h3><a name="file" class="anchor" href="#file"><span class="octicon octicon-link"></span></a>Файл</h2>
|
||||||
<p align="justify"><a href="https://raw.github.com/arcan1s/dotfiles/master/zshrc"></a>Мой <code>.zshrc</code>.</p>
|
<p align="justify"><a href="https://raw.github.com/arcan1s/dotfiles/master/zshrc">Мой</a> <code>.zshrc</code>.</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user