mirror of
https://github.com/arcan1s/arcanis.me.git
synced 2025-04-24 23:37:19 +00:00
chages with ru pages
This commit is contained in:
parent
1c25bfbd40
commit
6db23cb986
4
404.html
4
404.html
@ -8,8 +8,8 @@
|
||||
<meta name="description" content="arcanis' homepage" />
|
||||
<link rel="license" type="text/html" href="/authors" />
|
||||
|
||||
<link rel="stylesheet" href="/resources/styles.css">
|
||||
<link rel="stylesheet" href="/resources/pygment_trac.css">
|
||||
<link rel="stylesheet" href="/resources/css/styles.css">
|
||||
<link rel="stylesheet" href="/resources/css/pygment_trac.css">
|
||||
<link rel="shortcut icon" href="/resources/icon.ico">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
||||
<!--[if lt IE 9]>
|
||||
|
@ -15,7 +15,7 @@ relative_permalinks: true
|
||||
|
||||
permalink: pretty
|
||||
paginate: 10
|
||||
paginate_path: '/blog/:num'
|
||||
paginate_path: 'blog/:num'
|
||||
|
||||
markdown: rdiscount
|
||||
markdown_ext: markdown,mkd,mkdn,md
|
||||
|
@ -1 +1,5 @@
|
||||
{% if page.category == "ru" %}
|
||||
<p class="view"><a href="/ru">Домашняя страница</a></p>
|
||||
{% else %}
|
||||
<p class="view"><a href="/">Back to Homepage</a></p>
|
||||
{% endif %}
|
||||
|
@ -9,12 +9,21 @@
|
||||
}
|
||||
});
|
||||
</script>
|
||||
{% if page.category == "ru" %}
|
||||
<div id="comments">
|
||||
<h2>Комментарии</h2>
|
||||
<div id="header">
|
||||
Хотите оставить комментарий? Посетите <a href="https://github.com/arcan1s/arcan1s.github.io/issues/{{page.commentIssueId}}" target="_blank">эту страницу на GitHub</a> (Вам необходим аккаунт на GitHub).
|
||||
</div>
|
||||
</div>
|
||||
{% else %}
|
||||
<div id="comments">
|
||||
<h2>Comments</h2>
|
||||
<div id="header">
|
||||
Want to leave a comment? Visit <a href="https://github.com/arcan1s/arcan1s.github.io/issues/{{page.commentIssueId}}" target="_blank"> this post's issue page on GitHub</a> (you'll need a GitHub account).
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
<script type="text/javascript">
|
||||
function loadComments(data) {
|
||||
for (var i=0; i<data.length; i++) {
|
||||
|
@ -1,2 +1,7 @@
|
||||
{% if page.category == "ru" %}
|
||||
<p class="view"><a href="javascript:history.back()">Назад</a><br>
|
||||
<a href="/ru">Домашняя страница</a></p>
|
||||
{% else %}
|
||||
<p class="view"><a href="javascript:history.back()">Back</a><br>
|
||||
<a href="/">Back to Homepage</a></p>
|
||||
{% endif %}
|
||||
|
@ -39,9 +39,13 @@
|
||||
{% if page.share == true %}
|
||||
{% include footer_sharethis.html %}
|
||||
{% 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>
|
||||
{% else %}
|
||||
<small>Hosted on GitHub Pages. <a href="/authors">Authors</a></small></p>
|
||||
<p><a href="{{ page.url }}"><img src="/resources/en.png"></a>
|
||||
<a href="/ru{{ page.url }}"><img src="/resources/ru.png"></a></p>
|
||||
<p><a href="/ru{{ page.url }}"><img src="/resources/ru.png"></a></p>
|
||||
{% endif %}
|
||||
</footer>
|
||||
</div>
|
||||
<script src="/resources/js/scale.fix.js"></script>
|
||||
|
@ -8,14 +8,29 @@ layout: default
|
||||
<div class="wrapper">
|
||||
<header>
|
||||
<h1>{{ page.title }}</h1>
|
||||
{% if page.category == "ru" %}
|
||||
<p align="justify">{{ page.date | date_to_string }}<br>
|
||||
<i>Last edit: {{ page.last | date_to_string }}</i></p>
|
||||
<p align="justify">{{ Tags: page.tags }}</p>
|
||||
<p align="justify"><b>Related posts</b>:<br>
|
||||
<i>Последнее редактирование: {{ page.last | date_to_string }}</i></p>
|
||||
<p align="justify"><b>Тэги</b>: {{ page.tags }}</p>
|
||||
<p align="justify"><b>Похожие посты</b>:<br>
|
||||
{% for post in site.related_posts limit:3 %}
|
||||
{% if post.category == "ru" %}
|
||||
<i>{{ page.last | date_to_string }}</i> <a href="{{ post.url }}">{{ post.title }}</a><br>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</p>
|
||||
{% else %}
|
||||
<p align="justify">{{ page.date | date_to_string }}<br>
|
||||
<i>Last edit: {{ page.last | date_to_string }}</i></p>
|
||||
<p align="justify"><b>Tags</b>: {{ page.tags }}</p>
|
||||
<p align="justify"><b>Related posts</b>:<br>
|
||||
{% for post in site.related_posts limit:3 %}
|
||||
{% if post.category != "ru" %}
|
||||
<i>{{ page.last | date_to_string }}</i> <a href="{{ post.url }}">{{ post.title }}</a><br>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</p>
|
||||
{% endif %}
|
||||
</header>
|
||||
<section>
|
||||
|
||||
|
@ -9,6 +9,17 @@ layout: default
|
||||
<header>
|
||||
<h1>{{ page.title }}</h1>
|
||||
<p class="view">{{ page.description }}</p>
|
||||
{% if page.category == "ru" %}
|
||||
<p class="view"><a href="#info">Общая информация</a><br>
|
||||
<a href="#install">Установка</a><br>
|
||||
<a href="#howto">Использование</a><br>
|
||||
<a href="#config">Настройка</a><br>
|
||||
{% if page.hasgui == true %}
|
||||
<a href="#gui">Графический интерфейс</a><br>
|
||||
<a href="#screenshots">Скриншоты</a><br>
|
||||
{% endif %}
|
||||
<a href="#links">Ссылки</a></p>
|
||||
{% else %}
|
||||
<p class="view"><a href="#info">General information</a><br>
|
||||
<a href="#install">Installation guide</a><br>
|
||||
<a href="#howto">How to use</a><br>
|
||||
@ -18,15 +29,23 @@ layout: default
|
||||
<a href="#screenshots">Screenshots</a><br>
|
||||
{% endif %}
|
||||
<a href="#links">Links</a></p>
|
||||
{% endif %}
|
||||
</header>
|
||||
<section>
|
||||
|
||||
{{ content }}
|
||||
|
||||
{% if page.category == "ru" %}
|
||||
<h2><a name="links" class="anchor" href="#links"><span class="octicon octicon-link"></span></a>Ссылки</h2>
|
||||
<ul>
|
||||
<li><a href="https://github.com/arcan1s/{{ page.short }}">Репозиторий на GitHub</a></li>
|
||||
<li><a href="https://github.com/arcan1s/{{ page.short }}/releases">Последний релиз</a></li>
|
||||
{% else %}
|
||||
<h2><a name="links" class="anchor" href="#links"><span class="octicon octicon-link"></span></a>Links</h2>
|
||||
<ul>
|
||||
<li><a href="https://github.com/arcan1s/{{ page.short }}">GitHub repo</a></li>
|
||||
<li><a href="https://github.com/arcan1s/{{ page.short }}/releases">Latest release</a></li>
|
||||
{% endif %}
|
||||
{% for link in page.links %}
|
||||
<li>{{ link }}</li>
|
||||
{% endfor %}
|
||||
|
@ -8,8 +8,8 @@
|
||||
<meta name="description" content="arcanis' homepage" />
|
||||
<link rel="license" type="text/html" href="/authors" />
|
||||
|
||||
<link rel="stylesheet" href="/resources/styles.css">
|
||||
<link rel="stylesheet" href="/resources/pygment_trac.css">
|
||||
<link rel="stylesheet" href="/resources/css/styles.css">
|
||||
<link rel="stylesheet" href="/resources/css/pygment_trac.css">
|
||||
<link rel="shortcut icon" href="/resources/icon.ico">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
||||
<!--[if lt IE 9]>
|
||||
|
@ -1,11 +1,11 @@
|
||||
---
|
||||
category: ru
|
||||
layout: paper
|
||||
categories: ru
|
||||
last: 14 January 2014
|
||||
tags: zshrc, configuration, linux
|
||||
title: About zshrc
|
||||
short: about-zshrc
|
||||
description: It is first paper in my blog (I think I need something here for tests =)). There are many similar articles, and I'll not be an exception. I just want to show my <code>.zshrc</code> and explain what it does and why it is needed. Also any comments or additions are welcome. It is a translated paper from Russian (<a href="http://archlinux.org.ru/forum/topic/12752/">original</a>).
|
||||
description: РУССКИЙ. It is first paper in my blog (I think I need something here for tests =)). There are many similar articles, and I'll not be an exception. I just want to show my <code>.zshrc</code> and explain what it does and why it is needed. Also any comments or additions are welcome. It is a translated paper from Russian (<a href="http://archlinux.org.ru/forum/topic/12752/">original</a>).
|
||||
commentIssueId: 5
|
||||
---
|
||||
<h3><a name="prepare" class="anchor" href="#prepare"><span class="octicon octicon-link"></span></a>Prepare</h2>
|
@ -1,4 +1,5 @@
|
||||
---
|
||||
category: ru
|
||||
layout: default
|
||||
comment: false
|
||||
share: true
|
||||
|
@ -1,4 +1,5 @@
|
||||
---
|
||||
category: ru
|
||||
layout: default
|
||||
comment: false
|
||||
share: false
|
||||
|
@ -1,4 +1,5 @@
|
||||
---
|
||||
category: ru
|
||||
layout: default
|
||||
title: arcanis' blog
|
||||
comment: false
|
||||
@ -12,7 +13,7 @@ back: 1
|
||||
</header>
|
||||
<section>
|
||||
|
||||
{% for post in paginator.ruposts %}
|
||||
{% for post in paginator.posts %}
|
||||
<h1><a name="{{ post.short }}" class="anchor" href="#{{ post.short }}"><span class="octicon octicon-link"></span></a><a href="{{ post.url }}">{{ post.title }}</a></h1>
|
||||
<p align="justify"><i>{{ post.date | date_to_string}}</i></p>
|
||||
<p align="justify">{{ post.description }}</p>
|
||||
@ -21,7 +22,7 @@ back: 1
|
||||
|
||||
{% if paginator.total_pages > 1 %}
|
||||
{% if paginator.previous_page %}
|
||||
<a href="{{ paginator.previous_page_path }}">« Prev</a>
|
||||
<a href="/ru{{ paginator.previous_page_path }}">« Prev</a>
|
||||
{% else %}
|
||||
<span>« Prev</span>
|
||||
{% endif %}
|
||||
@ -30,14 +31,14 @@ back: 1
|
||||
{% if page == paginator.page %}
|
||||
<em>{{ page }}</em>
|
||||
{% elsif page == 1 %}
|
||||
<a href="{{ '/blog' }}">{{ page }}</a>
|
||||
<a href="{{ '/ru/blog' }}">{{ page }}</a>
|
||||
{% else %}
|
||||
<a href="{{ site.paginate_path | replace: ':num', page }}">{{ page }}</a>
|
||||
<a href="/ru{{ site.paginate_path | replace: ':num', page }}">{{ page }}</a>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% if paginator.next_page %}
|
||||
<a href="{{ paginator.next_page_path }}">Next »</a>
|
||||
<a href="/ru{{ paginator.next_page_path }}">Next »</a>
|
||||
{% else %}
|
||||
<span>Next »</span>
|
||||
{% endif %}
|
||||
|
@ -1,4 +1,5 @@
|
||||
---
|
||||
category: ru
|
||||
layout: default
|
||||
comment: false
|
||||
share: true
|
||||
|
@ -1,4 +1,5 @@
|
||||
---
|
||||
category: ru
|
||||
layout: project
|
||||
title: git-etc
|
||||
short: git-etc
|
||||
|
@ -1,4 +1,5 @@
|
||||
---
|
||||
category: ru
|
||||
layout: default
|
||||
title: arcanis' projects
|
||||
comment: false
|
||||
|
@ -1,4 +1,5 @@
|
||||
---
|
||||
category: ru
|
||||
layout: project
|
||||
title: Oblikue strategies
|
||||
short: oblikuestrategies
|
||||
|
@ -1,4 +1,5 @@
|
||||
---
|
||||
category: ru
|
||||
layout: project
|
||||
title: py-text-monitor
|
||||
short: pytextmonitor
|
||||
|
@ -1,4 +1,5 @@
|
||||
---
|
||||
category: ru
|
||||
layout: project
|
||||
title: queued
|
||||
short: queued
|
||||
|
Loading…
Reference in New Issue
Block a user