fix: footer svg not appear on multi-level pages

This commit is contained in:
grassblock 2025-05-02 09:37:10 +08:00
parent 35ef2c7a9a
commit 53d5c01777

View file

@ -36,7 +36,6 @@ const { title, path = formattedPath } = Astro.props;
<nav class="nav"> <nav class="nav">
<a href="/">Home</a> <a href="/">Home</a>
<a href="/blog">Blog</a> <a href="/blog">Blog</a>
<a href="/lab">Lab</a>
</nav> </nav>
<Search /> <Search />
@ -49,7 +48,7 @@ const { title, path = formattedPath } = Astro.props;
<footer class="footer"> <footer class="footer">
<div class="container"> <div class="container">
Powered by <a href="https://git.gb0.dev/gb/mercury"><img src="mercury.svg" width="16px" alt="mercury logo" /> mercury</a> Powered by <a href="https://git.gb0.dev/gb/mercury"><img src="/mercury.svg" width="16px" alt="mercury logo" /> mercury</a>
</div> </div>
</footer> </footer>
</body> </body>