edited patterns and main english pages

This commit is contained in:
arcan1s
2014-07-29 21:42:42 +04:00
parent bb1eba8021
commit 321c29cbcf
19 changed files with 213 additions and 173 deletions

View File

@ -4,23 +4,27 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>{{ page.title }}</title>
<meta name="author" content="Evgeniy Alekseev" />
<meta name="description" content="arcanis' homepage" />
<link rel="license" type="text/html" href="/authors" />
<meta name="author" content="Unknown" >
<meta name="description" content="arcanis' homepage">
<link href="/authors" rel="license" type="text/html">
<link rel="stylesheet" href="/resources/css/styles.css">
<link rel="stylesheet" href="/resources/css/syntax.css">
<link rel="shortcut icon" href="/resources/icon.ico">
<link href="/resources/css/styles.css" rel="stylesheet" type="text/css">
<link href="/resources/css/syntax.css" rel="stylesheet" type="text/css">
<link href="/resources/icon.ico" rel="shortcut icon" type="image/x-icon">
{% if page.category == "ru" %}
<link href="/ru/feed.xml" rel="alternate" title="arcanis' blog" type="application/rss+xml">
<link href="/ru/feed-short.xml" rel="alternate" title="arcanis' blog (только названия)" type="application/rss+xml">
<link href="/ru/feed.xml" title="arcanis' blog" rel="alternate" type="application/rss+xml">
<link href="/ru/feed-short.xml" title="arcanis' blog (только названия)" rel="alternate" type="application/rss+xml">
{% else %}
<link href="/feed.xml" rel="alternate" title="arcanis' blog" type="application/rss+xml">
<link href="/feed-short.xml" rel="alternate" title="arcanis' blog (title only)" type="application/rss+xml">
<link href="/feed.xml" title="arcanis' blog" rel="alternate" type="application/rss+xml">
<link href="/feed-short.xml" title="arcanis' blog (title only)" rel="alternate" type="application/rss+xml">
{% endif %}
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
<script type="text/javascript">
document.createElement('figure');
document.createElement('figcaption');
</script>
<![endif]-->
{% include google_analytics.html %}
{% if page.share == true %}
@ -47,7 +51,6 @@
{% include footer_sign.html %}
</footer>
</div>
<script src="/resources/js/scale.fix.js"></script>
<script src="/resources/js/scale.fix.js" type="text/javascript"></script>
</body>
</html>

View File

@ -12,15 +12,15 @@ layout: default
<p>{% include shortdate_to_ru.html %}</p>
<p><b>Тэги</b>: {{ page.tags }}</p>
{% if page.tags contains 'offtop' %}
<!-- do nothing -->
<!-- do nothing -->
{% else %}
<p><b>Похожие посты</b>:<br>
{% for post in site.related_posts limit:5 %}
{% if post.tags contains 'offtop' %}
<!-- do nothing -->
<!-- do nothing -->
{% else %}
{% if post.category == "ru" %}
<a href="{{ post.url }}">{{ post.title }}</a><br>
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a><br>
{% endif %}
{% endif %}
{% endfor %}
@ -30,15 +30,15 @@ layout: default
<p>{{ page.date | date_to_string }}<br></p>
<p><b>Tags</b>: {{ page.tags }}</p>
{% if page.tags contains 'offtop' %}
<!-- do nothing -->
<!-- do nothing -->
{% else %}
<p><b>Related posts</b>:<br>
{% for post in site.related_posts limit:5 %}
{% if post.tags contains 'offtop' %}
<!-- do nothing -->
<!-- do nothing -->
{% else %}
{% if post.category != "ru" %}
<a href="{{ post.url }}">{{ post.title }}</a><br>
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a><br>
{% endif %}
{% endif %}
{% endfor %}
@ -48,7 +48,7 @@ layout: default
</header>
<section>
<h1><a name="" class="anchor" href="#"><span class="octicon octicon-link"></span></a>{{ page.title }}</h1>
<h1><a href="#" class="anchor" name="title"><span class="octicon octicon-link"></span></a>{{ page.title }}</h1>
<p>{{ page.description }}</p>
{{ content }}

View File

@ -10,32 +10,32 @@ layout: default
<h1>{{ page.title }}</h1>
<p class="view">
{% if page.category == "ru" %}
<a href="#info">Общая информация</a><br>
<a href="#install">Установка</a><br>
<a href="#howto">Использование</a><br>
<a href="#config">Настройка</a><br>
<a href="#info" title="Информация">Общая информация</a><br>
<a href="#install" title="Установка">Установка</a><br>
<a href="#howto" title="Использование">Использование</a><br>
<a href="#config" title="Настройка">Настройка</a><br>
{% if page.hasgui == true %}
<a href="#gui">Графический интерфейс</a><br>
<a href="#screenshots">Скриншоты</a><br>
<a href="#gui" title="Графический интерфейс">Графический интерфейс</a><br>
<a href="#screenshots" title="Скриншоты">Скриншоты</a><br>
{% endif %}
<a href="#links">Ссылки</a>
<a href="#links" title="Ссылки">Ссылки</a>
{% else %}
<a href="#info">General information</a><br>
<a href="#install">Installation guide</a><br>
<a href="#howto">How to use</a><br>
<a href="#config">Configuration</a><br>
<a href="#info" title="Information">General information</a><br>
<a href="#install" title="Installation">Installation guide</a><br>
<a href="#howto" title="How-to">How to use</a><br>
<a href="#config" title="Configuration">Configuration</a><br>
{% if page.hasgui == true %}
<a href="#gui">GUI</a><br>
<a href="#screenshots">Screenshots</a><br>
<a href="#gui" title="Graphical interface">GUI</a><br>
<a href="#screenshots" title="Screenshots">Screenshots</a><br>
{% endif %}
<a href="#links">Links</a>
<a href="#links" title="Links">Links</a>
{% endif %}
</p>
<p class="view">
{% if page.category == "ru" %}
<a href="https://github.com/arcan1s/{{ page.short }}/issues">Сообщить о баге</a>
<a href="https://github.com/arcan1s/{{ page.short }}/issues" title="Багтрекер">Сообщить о баге</a>
{% else %}
<a href="https://github.com/arcan1s/{{ page.short }}/issues">Report a bug</a>
<a href="https://github.com/arcan1s/{{ page.short }}/issues" title="Bugtracker">Report a bug</a>
{% endif %}
</p>
</header>
@ -44,17 +44,17 @@ layout: default
{{ content }}
{% if page.category == "ru" %}
<h2><a name="links" class="anchor" href="#links"><span class="octicon octicon-link"></span></a>Ссылки</h2>
<h2><a href="#links" class="anchor" name="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>
<h2><a href="#links" class="anchor" name="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 %}
{% for link in page.links %}
<li>{{ link }}</li>
{% endfor %}
</ul>