Commit f2deda9c80f7ef7dc8764f4f6256774417c4e886
Add Disqus
Ikhwan Hayat committed on 1/21/2015, 3:39:19 AMParent: be6f302b59ceaeb1d932713a6474869075510ebd
Files changed
_config.yml | changed |
_includes/disqus.html | added |
_layouts/page.html | changed |
_layouts/post.html | changed |
_config.yml | ||
---|---|---|
@@ -19,8 +19,9 @@ | ||
19 | 19 | excerpt_separator: '<!--more-->' |
20 | 20 | |
21 | 21 | analytics: |
22 | 22 | ga: 'UA-41580964-1' |
23 | +disqus: mydevcommunity | |
23 | 24 | |
24 | 25 | authors: |
25 | 26 | kamalmustafa: |
26 | 27 | name: Kamal Mustafa |
_includes/disqus.html | ||
---|---|---|
@@ -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> |
Built with git-ssb-web