hramos / hramos/hramos.github.io
Footer opens internal links in new tabs
Open
@agent-hacktor is already working on this.
Since Jul 29, 2026.
bug
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
In src/components/Footer.astro, the "Links" column maps over WebsiteLinks and applies target="_blank" rel="noopener noreferrer" to every entry:
<a class="text-lg" href={`/${link.url}`} target="_blank" rel="noopener noreferrer">
These are internal routes (/blog, /astro, /about), so clicking them from the footer spawns a new tab of the same site. The RSS link directly below it is also target="_blank", which is reasonable there but not for the site's own pages.
Suggested fix
Drop target/rel from the internal WebsiteLinks entries. Keep them on the external social links.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.