54 lines
1.4 KiB
HTML
54 lines
1.4 KiB
HTML
---
|
|
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>
|
|
|
|
{% if page.comments %}
|
|
<div id="disqus_thread"></div>
|
|
<script type="text/javascript" defer>
|
|
var disqus_config = function () {
|
|
this.page.url = '{{ page.url | absolute_url }}';
|
|
this.page.identifier = '{{ page.url | absolute_url }}';
|
|
};
|
|
|
|
(function() {
|
|
var d = document, s = d.createElement('script');
|
|
s.src = 'https://valentineus-link.disqus.com/embed.js';
|
|
s.setAttribute('data-timestamp', +new Date());
|
|
(d.head || d.body).appendChild(s);
|
|
})();
|
|
</script>
|
|
{% endif %}
|
|
|
|
<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>
|