refactor(site): use clean extensionless paths for home and releases

This commit is contained in:
N0VAN0M4LY committed 2026-12-03 05:23:41 +08:00
1 parent 621f648ed6
commit 833a011e9f
3 files changed
+10 -10

No files matched your search

+6 -6
View File
@@ -15,20 +15,20 @@
<div class="grid"></div>
<header class="nav">
<a class="brand" href="index.html">
<a class="brand" href="/">
<img class="logo" src="assets/icon.svg" alt="" width="28" height="28" draggable="false">
<span>WT<span class="brand-accent">OFFLINE</span></span>
</a>
<nav class="nav-links">
<a href="index.html">
<a href="/">
<span class="lang-zh">返回主页</span>
<span class="lang-en">Home</span>
</a>
<a class="hide-sm" href="index.html#features">
<a class="hide-sm" href="/#features">
<span class="lang-zh">特性</span>
<span class="lang-en">Features</span>
</a>
<a class="hide-sm" href="index.html#community">
<a class="hide-sm" href="/#community">
<span class="lang-zh">社区</span>
<span class="lang-en">Community</span>
</a>
@@ -49,7 +49,7 @@
<main class="focus-in">
<div class="wrap">
<section class="page-head stagger">
<a class="back-link" href="index.html">
<a class="back-link" href="/">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
<path d="M19 12H5M11 6l-6 6 6 6"/>
</svg>
@@ -105,7 +105,7 @@
WTOffline · AGPL-3.0-or-later
</span>
<span class="right">
<a href="index.html">
<a href="/">
<span class="lang-zh">主页</span>
<span class="lang-en">Home</span>
</a>