small edit of text

+ added include/singature
- fix bug with russian pages with comments
- fix image with eng papers
This commit is contained in:
arcan1s
2014-01-20 04:22:44 +04:00
parent a1605ad47d
commit b88b8a9ec1
6 changed files with 70 additions and 70 deletions

View File

@ -9,18 +9,15 @@
}
});
</script>
<div id="comments">
{% if page.category == "ru" %}
<div id="comments">
<h2><a name="comments" class="anchor" href="#comments"><span class="octicon octicon-link"></span></a>Комментарии</h2>
<p align="justify">Хотите оставить комментарий? Посетите <a href="https://github.com/arcan1s/arcan1s.github.io/issues/{{page.commentIssueId}}" target="_blank">эту страницу на GitHub</a> (Вам необходим аккаунт на GitHub).</p>
</div>
</div>
{% else %}
<div id="comments">
<h2><a name="comments" class="anchor" href="#comments"><span class="octicon octicon-link"></span></a>Comments</h2>
<p align="justify">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).</p>
</div>
{% endif %}
</div>
<script type="text/javascript">
function loadComments(data) {
for (var i=0; i<data.length; i++) {

View File

@ -0,0 +1,17 @@
<p>
{% if page.category == "ru" %}
{% if page.type == "paper" %}
<a href="{{ page.url | replace: '/ru/', '/en/' }}"><img src="/resources/en.png"></a>
{% else %}
<a href="{{ page.url | replace: '/ru/', '/' }}"><img src="/resources/en.png"></a>
{% endif %}
<small>Расположено на GitHub Pages. <a href="/ru/authors">Авторы</a></small>
{% else %}
{% if page.type == "paper" %}
<a href="{{ page.url | replace: '/en/', '/ru/' }}"><img src="/resources/ru.png"></a>
{% else %}
<a href="/ru{{ page.url }}"><img src="/resources/ru.png"></a>
{% endif %}
<small>Hosted on GitHub Pages. <a href="/authors">Authors</a></small>
{% endif %}
</p>