Skip to content
Permalink
Browse files

Adding disqus I guess

  • Loading branch information...
Depado committed Aug 11, 2015
1 parent 4ea590a commit 618ab909308a027db171ab266ac6de7ce7084269
Showing with 16 additions and 0 deletions.
  1. +16 −0 app/templates/helpers.html
@@ -71,6 +71,22 @@
<pre>{{ post.content }}</pre>
</div>
</div>
<div class="panel-footer">
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES * * */
var disqus_shortname = 'markdownblog-com';
var disqus_title = '{{ post.title }}';
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
</div>
</div>
{% endmacro %}

0 comments on commit 618ab90

Please sign in to comment.
You can’t perform that action at this time.