popov.link/_layouts/post.html

37 lines
895 B
HTML
Raw Normal View History

2018-01-06 15:12:53 +03:00
---
layout: default
---
<div class="post">
<div class="post-info">
<span>Written by</span>
{% if page.author %}
{{ page.author }}
{% else %}
{{ site.author.name }}
{% endif %}
{% if page.date %}
<br />
<span>on&nbsp;</span><time datetime="{{ page.date }}">{{ page.date | date: "%B %d, %Y" }}</time> {% endif %}
</div>
<h1 class="post-title">{{ page.title }}</h1>
<div class="post-line"></div>
{{ content }}
</div>
<div class="pagination">
{% if page.next.url %}
<a href="{{ page.next.url | prepend: site.baseurl }}" class="left arrow">&#8592;</a>
{% endif %}
{% if page.previous.url %}
<a href="{{ page.previous.url | prepend: site.baseurl }}" class="right arrow">&#8594;</a>
{% endif %}
<a href="#" class="top">Top</a>
</div>