mirror of
https://github.com/arcan1s/arcanis.me.git
synced 2025-07-15 06:05:47 +00:00
chages with ru pages
This commit is contained in:
@ -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 %}
|
||||
|
Reference in New Issue
Block a user