Skip to content

Commit 5b2e5b4

Browse files
committed
set up comments
1 parent 1812433 commit 5b2e5b4

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

_includes/comments.html

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<br><br>
2+
<div id="disqus_thread"></div>
3+
<script type="text/javascript">
4+
/* * * CONFIGURATION VARIABLES * * */
5+
var disqus_shortname = 'dirtycode';
6+
7+
/* * * DON'T EDIT BELOW THIS LINE * * */
8+
(function() {
9+
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
10+
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
11+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
12+
})();
13+
</script>
14+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>

_layouts/post.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ <h1>{{ page.title }}</h1>
1313
Written on {{ page.date | date: "%B %e, %Y" }}
1414
</div>
1515

16-
{% include disqus.html %}
16+
{% include comments.html %}
1717
</article>

0 commit comments

Comments
 (0)