-
Notifications
You must be signed in to change notification settings - Fork 0
/
post.html
49 lines (46 loc) · 1.4 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
---
layout: default
---
<article {% if page.feature-img %}class="feature-image"{% endif %}>
<header style="background-image: url('{{ site.baseurl }}/{{ page.feature-img }}')">
<h1 class="title">{{ page.title }}</h1>
<p class="meta">
<b>{{ page.date | date: "%B %-d, %Y" }}</b>
{% if page.author %} - {{ page.author }}{% endif %}
</p>
</header>
<section class="post-content">{{ content }}</section>
</article>
<!-- Post navigation -->
{% if site.theme_settings.post_navigation %}
<div id="post-nav">
{% if page.previous.url %}
<a id="prev-post" href="{{ site.baseurl }}{{ page.previous.url }}">
<span class="page-title">{{ page.previous.title }}</span>
<span class="nav-label">
<i class="fa fa-chevron-left"></i> {{ site.theme_settings.str_prev }}
</span>
</a>
{% endif %}
{% if page.next.url %}
<a id="next-post" href="{{ site.baseurl }}{{ page.next.url }}">
<span class="page-title">{{ page.next.title }}</span>
<span class="nav-label">
{{ site.theme_settings.str_next }} <i class="fa fa-chevron-right"></i>
</span>
</a>
{% endif %}
</div>
{% endif %}
<!-- Disqus -->
{% if site.theme_settings.disqus_shortname %}
<div class="comments">
{% include disqus.html %}
</div>
{% endif %}
<!-- Muut -->
{% if site.theme_settings.muut_community_name %}
<div class="comments">
{% include muut.html %}
</div>
{% endif %}