remove disqus

since the free plan now contains ads.
pull/4111/head
Thibault Duplessis 2018-03-08 23:28:41 -05:00
parent 7be3ef6547
commit 76acfe2bfe
2 changed files with 0 additions and 14 deletions

View File

@ -82,7 +82,6 @@ Lichess as deployed on https://lichess.org/ also uses these external services:
* [Cloudflare](https://www.cloudflare.com/) to serve static assets
* [Mailgun](https://www.mailgun.com/) for transactional email
* [prismic.io](https://prismic.io/) for help/documentation pages and the blog
* [Disqus](https://disqus.com/) for blog comments
* [twitch](https://www.twitch.tv/) for featured livestreams
* [YouTube](https://www.youtube.com) for featured livestreams and the [Video library](https://lichess.org/video)
* [stripe](https://stripe.com/) and [PayPal](https://www.paypal.com) for [Patron donations](https://lichess.org/patron)

View File

@ -29,18 +29,5 @@ description = ~doc.getText("blog.shortlede")).some) {
<div class="body embed_analyse">
@doc.getHtml("blog.body", prismic.linkResolver).map(lila.blog.Youtube.fixStartTimes).map(lila.blog.ProtocolFix.remove).map(Html.apply)
</div>
@NotForKids {
<div id="disqus_thread"></div>
@embedJs {
var disqus_shortname = 'lichessorg';
var disqus_identifier = '@doc.id';
var disqus_title = '@doc.getText("blog.title")';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
}
}
</div>
}