--- const currentUrl = Astro.url.pathname.slice(0, -1) + ".md"; ---