Remove unused support for "Disqus" from the page and post templates
We are not using Disqus. Remove it from the templates.
Change-Id: Id5e486d17e08dc8bb105db1b95e5d30df8cab51e
diff --git a/_config.yml b/_config.yml
index ce4c606..351434d 100644
--- a/_config.yml
+++ b/_config.yml
@@ -12,9 +12,6 @@
company_name: Gerrit
# this appears in the footer
-disqus_shortname:
-# if you're using disqus for comments, add the shortname here. if not, leave this value blank.
-
google_analytics: UA-107829153-1
# if you have google-analytics ID, put it in. if not, edit this value to blank.
diff --git a/_includes/disqus.html b/_includes/disqus.html
deleted file mode 100644
index 2481e4a..0000000
--- a/_includes/disqus.html
+++ /dev/null
@@ -1,25 +0,0 @@
-{% if site.disqus_shortname %}
-
-<div id="disqus_thread"></div>
-<script>
- /**
- * RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
- * LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables
- */
-
- var disqus_config = function () {
- this.page.url = "{{site.url}}/{{page.permalink}}"; // Replace PAGE_URL with your page's canonical URL variable
- this.page.identifier = "{{page.permalink}}"; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
- };
-
- (function() { // REQUIRED CONFIGURATION VARIABLE: EDIT THE SHORTNAME BELOW
- var d = document, s = d.createElement('script');
-
- s.src = 'https://{{site.disqus_shortname}}.disqus.com/embed.js'; // IMPORTANT: Replace EXAMPLE with your forum shortname!
-
- s.setAttribute('data-timestamp', +new Date());
- (d.head || d.body).appendChild(s);
- })();
-</script>
-<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
-{% endif %}
diff --git a/_layouts/page.html b/_layouts/page.html
index b472c21..f44eec6 100644
--- a/_layouts/page.html
+++ b/_layouts/page.html
@@ -52,8 +52,6 @@
{% endif %}
</div>
-{% include disqus.html %}
-
</div>
{{site.data.alerts.hr_shaded}}
diff --git a/_layouts/post.html b/_layouts/post.html
index d2273c0..50e6bcd 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -27,8 +27,6 @@
</article>
-{% include disqus.html %}
-
{{site.data.alerts.hr_shaded}}
{% include footer.html %}