-
Notifications
You must be signed in to change notification settings - Fork 0
/
post.html
67 lines (57 loc) · 2.2 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
---
layout: default
---
<!-- Page Header -->
{% if page.background %}
<header class="masthead" style="background-image: url('{{ page.background | prepend: site.baseurl | replace: '//', '/' }}')">
{% else %}
<header class="masthead">
{% endif %}
<div class="overlay"></div>
<div class="container">
<div class="row">
<div class="col-lg-8 col-md-10 mx-auto">
<div class="post-heading">
<h1>{{ page.title }}</h1>
{% if page.subtitle %}
<h2 class="subheading">{{ page.subtitle }}</h2>
{% endif %}
<span class="meta">Posted by
<a href="#">{% if page.author %}{{ page.author }}{% else %}{{ site.author }}{% endif %}</a>
on {{ page.date | date: '%B %d, %Y' }} · {% include read_time.html
content=page.content %}
</span>
</div>
</div>
</div>
</div>
</header>
<div class="container">
<div class="row">
<div class="col-lg-8 col-md-10 mx-auto">
{{ content }}
<hr>
<div class="page-category">
<p>
Category : <a href="{{ site.baseurl }}/blog/category.html#{{ page.category }}">{{ page.category }}</a>
| Tag :
{% for tag in page.tags %}
<a href="{{ site.baseurl }}/blog/tag.html#{{ tag | slugify }}">{{ tag }}</a>
{% endfor %}
</p>
</div>
<hr>
<div class="clearfix">
{% if page.previous.url %}
<a class="btn btn-primary float-left" href="{{ page.previous.url | prepend: site.baseurl | replace: '//', '/' }}" data-toggle="tooltip" data-placement="top" title="{{ page.previous.title }}">← Previous<span class="d-none d-md-inline">
Post</span></a>
{% endif %}
{% if page.next.url %}
<a class="btn btn-primary float-right" href="{{ page.next.url | prepend: site.baseurl | replace: '//', '/' }}" data-toggle="tooltip" data-placement="top" title="{{ page.next.title }}">Next<span class="d-none d-md-inline">
Post</span> →</a>
{% endif %}
{% include disqus.html %}
</div>
</div>
</div>
</div>