Добавлен disqus
This commit is contained in:
parent
95f6022fbf
commit
5b22214abb
@ -41,10 +41,11 @@ nav.navbar {
|
||||
}
|
||||
|
||||
.post.single {
|
||||
& {
|
||||
background-color: $post-bg-color;
|
||||
padding: 24px;
|
||||
}
|
||||
& {
|
||||
background-color: $post-bg-color;
|
||||
padding: 24px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.image-wrapper {
|
||||
& {
|
||||
@ -176,4 +177,9 @@ section.posts {
|
||||
|
||||
.page-footer {
|
||||
min-height: 16px;
|
||||
}
|
||||
|
||||
.comments {
|
||||
background-color: $post-bg-color;
|
||||
padding: 24px;
|
||||
}
|
@ -17,4 +17,22 @@
|
||||
{{- .Content -}}
|
||||
</p>
|
||||
</article>
|
||||
|
||||
<div class="comments">
|
||||
<div id="disqus_thread"></div>
|
||||
<script>
|
||||
var disqus_config = function () {
|
||||
this.page.url = '{{.Permalink}}';
|
||||
this.page.identifier = '{{.File.ContentBaseName}}';
|
||||
};
|
||||
|
||||
(function() {
|
||||
var d = document, s = d.createElement('script');
|
||||
s.src = 'https://multimote.disqus.com/embed.js';
|
||||
s.setAttribute('data-timestamp', +new Date());
|
||||
(d.head || d.body).appendChild(s);
|
||||
})();
|
||||
</script>
|
||||
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
||||
</div>
|
||||
{{ end }}
|
Loading…
Reference in New Issue
Block a user