mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-26 17:27:47 +01:00
f4c1d31a1d
This reverts commit 19a22e8b39
.
14 lines
429 B
JavaScript
14 lines
429 B
JavaScript
(function() {
|
|
var d = document, s = d.createElement('script');
|
|
s.src = 'https://esphomelib.disqus.com/embed.js';
|
|
s.setAttribute('data-timestamp', +new Date());
|
|
(d.head || d.body).appendChild(s);
|
|
})();
|
|
|
|
var disqus_config = function () {
|
|
let disqusThread = document.getElementById("disqus_thread");
|
|
if (disqusThread === null)
|
|
return;
|
|
this.page.identifier = disqusThread.getAttribute('data-disqus-identifier');
|
|
};
|