Merge pull request 'fixed main url' (#53) from url-fix into master
All checks were successful
🚀 Deploy website on push / 🎉 Deploy (push) Successful in 33s

Reviewed-on: #53
This commit is contained in:
Rohit Pai 2023-12-28 18:04:59 +00:00
commit 430e1c65ca

View File

@ -38,7 +38,7 @@ function goToURL(url)
document.querySelector('#cookiePopup').classList.add('hidden');
}
if (url === '/blog' || url === 'blog')
if (url === '/blog' || url === 'blog' || url === '/blog/')
{
loadHomeContent();
// window.history.pushState(null, null, url);