popov.link/_layouts/post.html

32 lines
886 B
HTML
Raw Normal View History

2018-01-06 15:12:53 +03:00
---
layout: default
---
<!-- Content of the post -->
2018-01-06 15:12:53 +03:00
<div class="post">
<h1 class="post-title">{{ page.title }}</h1>
<span class="post-date">{{ page.date | date_to_long_string }}</span>
2018-01-06 15:12:53 +03:00
{{ content }}
</div>
<!-- Comments on the post -->
<div class="comments">
2018-01-13 18:38:01 +03:00
<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 }}';
2018-01-13 18:38:01 +03:00
this.page.url = '{{ page.url | absolute_url }}';
};
(function() {
var d = document,
s = d.createElement('script');
s.src = '//valentineus-link.disqus.com/embed.js';
2018-01-13 18:38:01 +03:00
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
2018-01-06 15:12:53 +03:00
</div>