Skip to content

Commit 55446ef

Browse files
authored
feat: Open social links in new tab (#343)
1 parent 1989d5e commit 55446ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ <h2>{{ .Site.Params.Description }}</h2>
2020
<ul class="gk-social-icons-list">
2121
{{ range .Site.Params.SocialIcons }}
2222
<li class="gk-social-icon">
23-
<a href="{{ .url }}" {{ if .rel }}rel="{{ .rel }}"{{ end }} aria-label="Learn more on {{ .name }}">
23+
<a href="{{ .url }}" target="_blank" rel="{{ if .rel }}{{ .rel }} {{ end }}noopener noreferrer" aria-label="Learn more on {{ .name }}">
2424
<img class="svg-inject" src="{{ relURL "svg/icons/" }}{{ .name | lower }}.svg" alt="">
2525
</a>
2626
</li>

0 commit comments

Comments
 (0)