-
Notifications
You must be signed in to change notification settings - Fork 1
/
post.html
36 lines (29 loc) · 812 Bytes
/
post.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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>