move scripts to _src/

This commit is contained in:
Miao Wang 2024-04-09 23:15:58 +08:00
parent c0d83d4e80
commit 0da5a1739a
2 changed files with 8 additions and 7 deletions

View File

@ -62,13 +62,6 @@ WebFont.load({
families: ['Lato']
}
});
(function () {
var lei3Po8h = ["support", ["tuna", "tsinghua", "edu", "cn"].join(".")].join("@");
document.querySelectorAll('a.eib1gieB').forEach(function (el) {
el.textConetent=lei3Po8h;
el.href=["ma","ilto:"].join("i")+lei3Po8h;
});
})();
</script>
{% fa_svg_generate %}

View File

@ -12,3 +12,11 @@ if (siteSuffix) {
});
}
}
const lei3Po8h = ["support", ["tuna", "tsinghua", "edu", "cn"].join(".")].join(
"@",
);
Array.from(document.querySelectorAll("a.eib1gieB")).forEach((el) => {
el.textContent = lei3Po8h;
el.href = ["ma", "ilto:"].join("i") + lei3Po8h;
});