git ssb

0+

k4ml / belajar-js



Commit f2deda9c80f7ef7dc8764f4f6256774417c4e886

Add Disqus

Ikhwan Hayat committed on 1/21/2015, 3:39:19 AM
Parent: be6f302b59ceaeb1d932713a6474869075510ebd

Files changed

_config.ymlchanged
_includes/disqus.htmladded
_layouts/page.htmlchanged
_layouts/post.htmlchanged
_config.ymlView
@@ -19,8 +19,9 @@
1919 excerpt_separator: '<!--more-->'
2020
2121 analytics:
2222 ga: 'UA-41580964-1'
23+disqus: mydevcommunity
2324
2425 authors:
2526 kamalmustafa:
2627 name: Kamal Mustafa
_includes/disqus.htmlView
@@ -1,0 +1,11 @@
1+<div id="disqus_thread"></div>
2+<script type="text/javascript">
3+var disqus_shortname = '{{ site.disqus }}';
4+(function() {
5+var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
6+dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
7+(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
8+})();
9+</script>
10+<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
11+<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
_layouts/page.htmlView
@@ -9,4 +9,6 @@
99 <div class="page">
1010 <h1 class="page-title">{{ page.title }}</h1>
1111 {{ content }}
1212 </div>
13+
14+{% include disqus.html %}
_layouts/post.htmlView
@@ -34,4 +34,6 @@
3434 </li>
3535 {% endfor %}
3636 </ul>
3737 </div>
38+
39+{% include disqus.html %}

Built with git-ssb-web