Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add disqus

  • Loading branch information...
commit d574e3f821b7814c542ab40a9fa38849359ab4a5 1 parent 294c912
@salathe authored
View
13 _includes/disqus.html
@@ -0,0 +1,13 @@
+<div id="disqus_thread"></div>
+<script type="text/javascript">
+ var disqus_shortname = 'cowburn';
+ (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="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
+<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
View
6 _layouts/post.html
@@ -8,9 +8,11 @@ <h1 class="post-title">{{ page.title }}</h1>
{{ content }}
</div>
-<footer>
+<aside class="postfooter">
<p class="message">
If you liked this article, you may want to
<a href="/">browse my other articles</a>.
</p>
-</footer>
+</aside>
+
+{% include disqus.html %}
View
1  public/css/style.css
@@ -197,6 +197,7 @@ header .container {
/*
* Footsie
*/
+.postfooter,
footer {
padding-top: 1rem;
margin-bottom: 4rem;
Please sign in to comment.
Something went wrong with that request. Please try again.