Skip to content

Commit

Permalink
You can now enable/disable the disqus commenting system.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thoughtrium committed Mar 27, 2013
1 parent b580892 commit 53dc967
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/disqus.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='utf-8' ?>

<disqus>
<disqus enabled="false">

<site name='Television Suicide' shortname='televisionsuicide' url='televisionsuicide.com' />

Expand Down
7 changes: 6 additions & 1 deletion templates/article.html.ep
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@
</div>

</div>
<!-- Disqus Commenting Platform -->

% if ($disqus->{enabled} eq 'true') {

<!-- Disqus Commenting Platform -->

<br />

Expand All @@ -97,6 +100,8 @@
})();

// ]]></script>

% }

</div>

Expand Down

0 comments on commit 53dc967

Please sign in to comment.