Skip to content

Commit

Permalink
remove disqus integration to cut back spam (Leaflet#7018)
Browse files Browse the repository at this point in the history
  • Loading branch information
mourner authored Mar 11, 2020
1 parent 6710299 commit 05a9bdb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
15 changes: 0 additions & 15 deletions docs/_layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,3 @@ <h2>{{ page.title }}</h2>

{{ content }}

<div id="disqus_thread"></div>

<script>
var disqus_shortname = 'leafletjs';
// var disqus_developer = 1;

(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'https://' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>

<a href="https://disqus.com/" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>

4 changes: 0 additions & 4 deletions docs/docs/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -1083,10 +1083,6 @@ iframe[src*='youtube.com'] {
max-width: 100% !important;
}

#disqus_thread {
margin-top: 3em;
}

.no-break {
display: inline-block;
width: 100%;
Expand Down

0 comments on commit 05a9bdb

Please sign in to comment.