devilsec / website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Resources page opens navigation links in another tab instead of within the current browser tab.

Nightfire-0x07 opened this issue · comments

Description:
Default behavior on the resources page's body is to open links in another tab, such as when you click on a description of OWASP Top Ten or the title "Hack the Box." However, the navigation bar's embedded links also open in new tabs, which is not the expected behavior with the rest of the pages on the site. This only occurs on the resources page.

Steps to Reproduce:

  1. Navigate to "Resources" page
  2. Click any page in the navbar
  3. Note a new browser tab opens with that page

Addition of <target="_blank"> to the head tag needs to be adjusted.

The issue is that because the base tag applies to all hyperlinks, the navigation menu technically would apply. May have to do a work around of specifying the target with each hyperlink instead.