smolboi/assets/js/main.js
2024-07-08 17:05:50 -05:00

5 lines
174 B
JavaScript

console.log("This site was generated by Hugo.");
function copyText() {
const text = document.getElementById("copyText").innerText;
navigator.clipboard.writeText(text);
}