|
|
|
@ -29,6 +29,7 @@ switch (lang) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var giscus = function () {
|
|
|
|
|
if (document.getElementById("giscus-container") != null) {
|
|
|
|
|
const script = document.createElement("script");
|
|
|
|
|
script.type = "text/javascript";
|
|
|
|
|
script.src = "https://giscus.app/client.js";
|
|
|
|
@ -49,7 +50,9 @@ var giscus = function () {
|
|
|
|
|
|
|
|
|
|
script.crossOrigin = "anonymous";
|
|
|
|
|
script.async = true;
|
|
|
|
|
|
|
|
|
|
document.getElementById("giscus-container").appendChild(script);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
window.addEventListener('load', giscus);
|