Skip to content

Commit 17798c6

Browse files
committed
Remove disqus
1 parent 53568be commit 17798c6

3 files changed

Lines changed: 1 addition & 29 deletions

File tree

_includes/footer.html

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,6 @@
99
</p>
1010
</footer>
1111
</div>
12-
<script type="text/javascript">
13-
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
14-
var disqus_shortname = 'houseofding'; // required: replace example with your forum shortname
15-
16-
/* * * DON'T EDIT BELOW THIS LINE * * */
17-
(function () {
18-
var s = document.createElement('script'); s.async = true;
19-
s.type = 'text/javascript';
20-
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
21-
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
22-
}());
23-
</script>
2412
{% include google_analytics.html %}
2513
</body>
2614
</html>

_layouts/post.html

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,4 @@ <h2><a href="{{ page.url }}">{{ page.title }}</a></h2>
1010
</span>
1111
</p>
1212
{{ content }}
13-
<div id="disqus_thread"></div>
14-
<script type="text/javascript">
15-
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
16-
var disqus_shortname = 'houseofding'; // required: replace example with your forum shortname
17-
var disqus_identifier = '{{ page.id }}'; // required: replace example with your forum shortname
18-
19-
/* * * DON'T EDIT BELOW THIS LINE * * */
20-
(function() {
21-
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
22-
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
23-
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
24-
})();
25-
</script>
26-
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
27-
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
28-
2913
{% include footer.html %}

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<div class="recent">
55
{% for post in site.posts limit:10 %}
66
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
7-
<p class="post-date">{{ post.date | date_to_string }} &mdash; <a href="{{ post.url }}#disqus_thread" data-disqus-identifier="{{ post.id }}"></a></p>
7+
<p class="post-date">{{ post.date | date_to_string }}</p>
88
<p class="post-lead">{{ post.lead }}</p>
99
{% endfor %}
1010
</div>

0 commit comments

Comments
 (0)