2014-01-18

* edited css (highlighting)
* edited date in russian pages
This commit is contained in:
arcan1s
2014-01-18 14:51:17 +04:00
parent 06b0518bb6
commit 5dc73b8d9f
8 changed files with 22 additions and 13 deletions

View File

@ -9,24 +9,23 @@ layout: default
<header>
<h1>{{ page.title }}</h1>
{% if page.category == "ru" %}
<p align="justify">{{ page.date | date_to_string }}<br>
<i>Последнее редактирование: {{ page.last | date_to_string }}</i></p>
{% assign post = page %}
<p align="justify">{% include shortdate_to_ru.html %}</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>
<i>{% include shortdate_to_ru.html %}</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">{{ page.date | date_to_string }}<br></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>
<i>{{ post.date | date_to_string }}</i> <a href="{{ post.url }}">{{ post.title }}</a><br>
{% endif %}
{% endfor %}
</p>