arcanis.me/_layouts/paper.html
arcan1s 5dc73b8d9f 2014-01-18
* edited css (highlighting)
* edited date in russian pages
2014-01-18 14:51:17 +04:00

40 lines
1.3 KiB
HTML

---
comment: true
share: true
back: 2
layout: default
---
<body>
<div class="wrapper">
<header>
<h1>{{ page.title }}</h1>
{% if page.category == "ru" %}
{% 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>{% 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></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>{{ post.date | date_to_string }}</i> <a href="{{ post.url }}">{{ post.title }}</a><br>
{% endif %}
{% endfor %}
</p>
{% endif %}
</header>
<section>
<a name="" class="anchor" href="#"><span class="octicon octicon-link"></span></a>
<p align="justify">{{ page.description }}</p>
{{ content }}