console.log("Toggle script loaded");
document.addEventListener("DOMContentLoaded", function () {
const moreLink = document.getElementById("more-link");
const lessLink = document.getElementById("less-link");
const bioShort = document.getElementById("bio-short");
const bioFull = document.getElementById("bio-full");
if (moreLink && lessLink && bioShort && bioFull) {
moreLink.addEventListener("click", function (e) {
e.preventDefault();
bioShort.style.display = "none";
bioFull.style.display = "block";
});
lessLink.addEventListener("click", function (e) {
e.preventDefault();
bioFull.style.display = "none";
bioShort.style.display = "block";
});
}
});