Skip to content

Commit

Permalink
open github menu link in new page
Browse files Browse the repository at this point in the history
  • Loading branch information
bradh352 committed Jul 10, 2024
1 parent b3ebd3b commit 91fda63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{%- for path in page_paths -%}
{%- assign my_page = site.pages | where: "path", path | first -%}
{%- if my_page.menu -%}
<a class="page-link" href="{% if my_page.redirect_url %}{{ my_page.redirect_url }}{% else %}{{ my_page.url | relative_url }}{% endif %}">{{ my_page.menu | escape }}</a>
<a class="page-link" href="{% if my_page.redirect_url %}{{ my_page.redirect_url }}{% else %}{{ my_page.url | relative_url }}{% endif %}"{% if my_page.redirect_url %}target="_blank" rel="noopener noreferrer"{% endif %}>{{ my_page.menu | escape }}</a>
{%- endif -%}
{%- endfor -%}
</div>
Expand Down

0 comments on commit 91fda63

Please sign in to comment.