forked from rampatra/JavaNotes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpost.html
More file actions
35 lines (32 loc) · 1.36 KB
/
post.html
File metadata and controls
35 lines (32 loc) · 1.36 KB
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
---
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">
{{ page.date | date: "%B %-d, %Y" }}
{% if page.author %} - {{ page.author }}{% endif %}
</p>
<!-- Social like/share buttons -->
<div class="share-bar"></div>
</header>
<section class="post-content">{{ content }}</section>
</article>
<!-- Post navigation -->
{% if site.post_navigation %}
<div id="post-nav">
{% if page.previous.url %}
<a class="prev" href="{{ page.previous.url }}" {% if page.next.url == null %} style="border-right:1px solid rgba(0, 0, 0, 0.1)" {% endif %}><h3>{{ page.previous.title }}</h3> « {{ site.theme_settings.str_prev }}</a>
{% endif %}
{% if page.next.url %}
<a class="next" href="{{ page.next.url }}" {% if page.previous.url == null %} style="margin-left:50%;border-left:1px solid rgba(0, 0, 0, 0.1)" {% else %} style="border-left:1px solid rgba(0, 0, 0, 0.1)" {% endif %}><h3>{{ page.next.title }}</h3> {{ site.theme_settings.str_next }} »</a>
{% endif %}
</div>
{% endif %}
<!-- Disqus -->
{% if site.theme_settings.disqus_shortname %}
<div class="comments">
{% include disqus.html %}
</div>
{% endif %}