add disquis comments to posts
This commit is contained in:
parent
9303b35d21
commit
4b8e9e4a29
@ -11,3 +11,19 @@ post: true
|
||||
<p class="post-meta">Posted on {{ page.date | date_to_long_string }} by <a href="http://agafonkin.com/en">Vladimir Agafonkin</a></p>
|
||||
|
||||
{{ content }}
|
||||
|
||||
<div id="disqus_thread"></div>
|
||||
|
||||
<script>
|
||||
var disqus_shortname = 'leafletjs';
|
||||
// var disqus_developer = 1;
|
||||
|
||||
(function() {
|
||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||
})();
|
||||
</script>
|
||||
|
||||
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
|
||||
|
||||
|
@ -514,3 +514,7 @@ p.notice {
|
||||
color: #888;
|
||||
margin-top: -1em;
|
||||
}
|
||||
|
||||
#disqus_thread {
|
||||
margin-top: 3em;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user