Permalink
Browse files

Reference old urls because Disqus is shit

Disqus url migration tool appears to do absolutely nothing, and makes you
wait 24 hours each time to find out NOTHING FUCKING CHANGED.
  • Loading branch information...
1 parent 322405c commit 624d7877d26b900ab547de1ae13184685a9cb710 @lparry committed Jan 6, 2014
Showing with 5 additions and 1 deletion.
  1. +5 −1 source/_includes/_disqus_comments.html
@@ -1,7 +1,11 @@
<div id="disqus_thread"></div>
<script type="text/javascript">
- var disqus_shortname = 'lucasthenomad{{"" | octopress_env}}';
+ var disqus_shortname = 'lucasthenomad';
+ {% if post.old_blog_url %}
+ var disqus_url = '{{ post.old_blog_url }}';
+ {% else %}
var disqus_url = '{{ site.url }}{{ post.url }}';
+ {% endif %}
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;

0 comments on commit 624d787

Please sign in to comment.