mirror of
https://github.com/valentineus/popov.link.git
synced 2025-07-03 16:10:26 +03:00
Initial commit
This commit is contained in:
36
_layouts/post.html
Normal file
36
_layouts/post.html
Normal file
@ -0,0 +1,36 @@
|
||||
---
|
||||
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 </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">←</a>
|
||||
{% endif %}
|
||||
|
||||
{% if page.previous.url %}
|
||||
<a href="{{ page.previous.url | prepend: site.baseurl }}" class="right arrow">→</a>
|
||||
{% endif %}
|
||||
|
||||
<a href="#" class="top">Top</a>
|
||||
</div>
|
Reference in New Issue
Block a user