hramos / hramos/hramos.github.io

Footer opens internal links in new tabs

Open
#54 0 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.