chages with ru pages

This commit is contained in:
arcan1s
2014-01-16 21:42:36 +04:00
parent 1c25bfbd40
commit 6db23cb986
20 changed files with 110 additions and 45 deletions

View File

@ -1 +1,5 @@
<p class="view"><a href="/">Back to Homepage</a></p>
{% if page.category == "ru" %}
<p class="view"><a href="/ru">Домашняя страница</a></p>
{% else %}
<p class="view"><a href="/">Back to Homepage</a></p>
{% endif %}

View File

@ -9,12 +9,21 @@
}
});
</script>
<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).
{% 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>
</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++) {

View File

@ -1,2 +1,7 @@
<p class="view"><a href="javascript:history.back()">Back</a><br>
<a href="/">Back to Homepage</a></p>
{% 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 %}