fixed back button

This commit is contained in:
ebby 2026-07-28 10:57:37 +02:00
parent 1ddbd466a3
commit 5108d5eacc
2 changed files with 4 additions and 5 deletions

View file

@ -1,15 +1,14 @@
---
---
---
<a class="no-link-link" href="javascript:history.back()">
<a href={Astro.request.headers.get('referer') || '/'}>
<button class="rounded">zurück</button>
</a>
<style>
button {
padding: 12px 24px;
margin: 8px 0 16px 64px;
margin: 8px 0 16px 0px;
border-style: none;
}
</style>

View file

@ -30,8 +30,8 @@ const titleImg = findImageByPath(frontmatter.image.path);
</div>
<hr />
<slot />
</article>
<BackNav />
</article>
</Main>
<style>