diff options
| author | mo <mokha@cisco.com> | 2017-04-27 20:57:11 -0600 |
|---|---|---|
| committer | mo <mokha@cisco.com> | 2017-04-27 20:57:11 -0600 |
| commit | b007fbbe0d857f822933e0ffb7fe6b6f8058e5b2 (patch) | |
| tree | 07f9d2cf16aeef6cbc6696e8fc4d14254f96dd48 | |
| parent | a1f11f36c677cd8be13366de5b56041c4badc30d (diff) | |
remove disqus comments count.
| -rw-r--r-- | app/views/layouts/_disqus_comments_count.html.erb | 9 | ||||
| -rw-r--r-- | app/views/layouts/application.html.erb | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/app/views/layouts/_disqus_comments_count.html.erb b/app/views/layouts/_disqus_comments_count.html.erb deleted file mode 100644 index 03167937..00000000 --- a/app/views/layouts/_disqus_comments_count.html.erb +++ /dev/null @@ -1,9 +0,0 @@ -<script type="text/javascript"> -var disqus_shortname = '<%= ENV['DISQUS_SHORTNAME'] %>'; -(function () { - var s = document.createElement('script'); s.async = true; - s.type = 'text/javascript'; - s.src = 'https://' + disqus_shortname + '.disqus.com/count.js'; - (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s); -}()); -</script> diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 3573ba6c..f358528e 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -34,7 +34,6 @@ <%= yield %> </div> <!-- /container --> <%= render "layouts/footer" %> -<%# render "layouts/disqus_comments_count" %> <%= render "layouts/google_analytics" %> </body> </html> |
