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">
<a href="/">Home</a>
<a href="/blog">Blog</a>
<a href="/lab">Lab</a>
</nav>
<Search />
@ -49,7 +48,7 @@ const { title, path = formattedPath } = Astro.props;
<footer class="footer">
<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>
</footer>
</body>