forked from wowthemesnet/affiliates-jekyll-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpost.html
119 lines (89 loc) · 3.84 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
---
layout: default
disqus: false
archive: false
post_class: post-template
---
<!-- Begin Article
================================================== -->
<div class="row">
<!-- Post -->
{% assign author = site.authors[page.author] %}
<div class="col-sm-8">
<!-- Post Featured Image -->
{% if page.image %}<img class="featured-image img-fluid rounded" src="{{ site.baseurl }}/{{ page.image }}" alt="{{ page.title }}">{% endif %}
<!-- End Featured Image -->
<div class="mainheading">
<!-- Post Categories -->
<div class="after-post-tags">
<ul class="tags">
{% assign sortedCategories = page.categories | sort %}
{% for category in sortedCategories %}
<li>
<a href="{{ site.baseurl }}/categories#{{ category | slugify }}">{{ category }}</a>
</li>
{% endfor %}
</ul>
</div>
<!-- End Categories -->
<!-- Post Title -->
<h1 class="posttitle">{{ page.title }}</h1>
</div>
<!-- Post Content -->
<div class="article-post serif-font">
{{content}}
<div class="clearfix"></div>
</div>
<!-- Post Date -->
<p>
<small>
<span class="post-date"><time class="post-date" datetime="{{ page.date | date:"%Y-%m-%d" }}">{{ page.date | date_to_string }}</time></span>
{% if page.last_modified_at %}
(Updated: <time datetime="{{ page.last_modified_at | date_to_xmlschema }}" itemprop="dateModified">{{ page.last_modified_at | date: "%b %-d, %Y" }}</time>)
{% endif %}
</small>
</p>
<!-- Prev/Next -->
<div class="row PageNavigation mt-4 prevnextlinks d-flex justify-content-between">
{% if page.previous.url %}
<div class="col-md-6 rightborder pl-0">
<a class="thepostlink" href="{{page.previous.url | absolute_url}}">« {{page.previous.title}}</a>
</div>
{% endif %}
{% if page.next.url %}
<div class="col-md-6 text-right pr-0">
<a class="thepostlink" href="{{page.next.url | absolute_url}}">{{page.next.title}} »</a>
</div>
{% endif %}
</div>
<!-- End Prev/Next -->
<!-- Author Box -->
{% if page.author %}
<div class="row post-top-meta">
<div class="col-md-2">
<img class="author-thumb" src="{{site.baseurl}}/{{author.avatar}}" alt="{{ author.display_name }}">
</div>
<div class="col-md-10">
<a target="_blank" class="link-dark" href="{{ author.web }}">{{ author.display_name }}</a><a target="_blank" href="{{ author.twitter }}" class="btn follow">Follow</a>
<span class="author-description">{{ author.description }}</span>
</div>
</div>
{% endif %}
<!-- Begin Comments
================================================== -->
<section>
<div id="comments">
{% include disqus.html %}
</div>
</section>
<!--End Comments
================================================== -->
</div>
<!-- End Post -->
<!-- Sidebar -->
<div class="col-sm-4">
{% include sidebar.html %}
</div>
</div>
<!-- End Article
================================================== -->