popov.link/_layouts/post.html
Valentin Popov 84da41dffc The post template has been rewritten
Signed-off-by: Valentin Popov <valentineus@gmail.com>
2018-04-03 02:05:48 +00:00

32 lines
886 B
HTML

---
layout: default
---
<!-- Content of the post -->
<div class="post">
<h1 class="post-title">{{ page.title }}</h1>
<span class="post-date">{{ page.date | date_to_long_string }}</span>
{{ content }}
</div>
<!-- Comments on the post -->
<div class="comments">
<div id="disqus_thread"></div>
<script type="text/javascript" defer>
var disqus_config = function() {
this.page.identifier = '{{ page.url | relative_url }}';
this.page.title = '{{ page.title }}';
this.page.url = '{{ page.url | absolute_url }}';
};
(function() {
var d = document,
s = d.createElement('script');
s.src = '//valentineus-link.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
</div>