parent
7be3ef6547
commit
76acfe2bfe
|
@ -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
|
* [Cloudflare](https://www.cloudflare.com/) to serve static assets
|
||||||
* [Mailgun](https://www.mailgun.com/) for transactional email
|
* [Mailgun](https://www.mailgun.com/) for transactional email
|
||||||
* [prismic.io](https://prismic.io/) for help/documentation pages and the blog
|
* [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
|
* [twitch](https://www.twitch.tv/) for featured livestreams
|
||||||
* [YouTube](https://www.youtube.com) for featured livestreams and the [Video library](https://lichess.org/video)
|
* [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)
|
* [stripe](https://stripe.com/) and [PayPal](https://www.paypal.com) for [Patron donations](https://lichess.org/patron)
|
||||||
|
|
|
@ -29,18 +29,5 @@ description = ~doc.getText("blog.shortlede")).some) {
|
||||||
<div class="body embed_analyse">
|
<div class="body embed_analyse">
|
||||||
@doc.getHtml("blog.body", prismic.linkResolver).map(lila.blog.Youtube.fixStartTimes).map(lila.blog.ProtocolFix.remove).map(Html.apply)
|
@doc.getHtml("blog.body", prismic.linkResolver).map(lila.blog.Youtube.fixStartTimes).map(lila.blog.ProtocolFix.remove).map(Html.apply)
|
||||||
</div>
|
</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>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue