popov.link/_layouts/post.html

38 lines
1.0 KiB
HTML
Raw Normal View History

2018-01-06 15:12:53 +03:00
---
layout: default
---
<div class="post">
<!-- Header -->
<h1 class="post-title">
{{ page.title | smartify | strip_html | normalize_whitespace }}
</h1>
<!-- Date -->
<span class="post-date">{{ page.date | date_to_long_string }}</span>
<!-- Contents -->
{{ content | normalize_whitespace }}
2018-01-06 15:12:53 +03:00
</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.id | slugify }}';
this.page.title = '{{ page.title | smartify | strip_html | normalize_whitespace }}';
this.page.url = '{{ page.url | absolute_url | uri_escape }}';
2018-01-13 18:38:01 +03:00
};
(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>