@@ 304,20 304,6 @@
bcName.innerText = "404";
}
- document.addEventListener('click', e => {
- const link = e.target.closest('a');
- if (CONFIG.USE_CLEAN_PATHS && link && link.href.startsWith(window.location.origin) && !link.getAttribute('target')) {
- const url = new URL(link.href);
- const hasExtension = url.pathname.includes('.') && !url.pathname.endsWith('.md');
- if (!hasExtension) {
- e.preventDefault();
- log(`Link clicked: ${url.pathname}`);
- history.pushState(null, '', link.href);
- render();
- }
- }
- });
-
async function generateRSS() {
log("Generating full RSS feed...");
try {