hugo to use relative path

This commit is contained in:
James Feng Cao 2024-03-23 10:50:14 +08:00
parent d4d932689d
commit c0a6690dd8
65 changed files with 66 additions and 91 deletions

View file

@ -5,5 +5,6 @@
if(ls[i].startsWith("en")) {location.href="en/index.html";break;}
if(ls[i].startsWith("zh")) {location.href="zh/index.html";break;}
}
location.href="en/index.html";
</script>
</head>