Skip to content

Commit

Permalink
feat: add noopener ref to link
Browse files Browse the repository at this point in the history
  • Loading branch information
st1020 committed Oct 23, 2023
1 parent d3cb5d6 commit de388f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion templates/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
>
{% if config.extra.footer.license %} |<!---->
{% if config.extra.footer.license_url %}<!---->
<a class="link" href="{{ config.extra.footer.license_url }}">
<a class="link" href="{{ config.extra.footer.license_url }}" rel="noopener" target="_blank">
{{ config.extra.footer.license }}
</a>
{% else %}<!---->
Expand Down
1 change: 1 addition & 0 deletions templates/projects.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ <h3 class="my-2 text-xl font-bold text-black dark:text-white">{{ project.name }}
<a
class="underline"
href="{{ link.url | replace(from=`$BASE_URL`, to=config.base_url) | safe }}"
rel="noopener"
target="_blank"
>{{ link.name }}</a
>
Expand Down

0 comments on commit de388f6

Please sign in to comment.