Fix inconsistencies in target attributes (#288)
This commit is contained in:
parent
60d2b21649
commit
cb3df73d53
1 changed files with 3 additions and 3 deletions
|
@ -29,11 +29,11 @@
|
|||
{{ range .socialLinks }}
|
||||
<li>
|
||||
{{ if eq .name "Email" }}
|
||||
<a href="mailto:{{ .url }}" target="/"><i class="{{ .icon }}"></i></a>
|
||||
<a href="mailto:{{ .url }}" target="_blank"><i class="{{ .icon }}"></i></a>
|
||||
{{ else if eq .name "Phone" }}
|
||||
<a href="tel:{{ .url }}" target="/"><i class="{{ .icon }}"></i></a>
|
||||
<a href="tel:{{ .url }}" target="_blank"><i class="{{ .icon }}"></i></a>
|
||||
{{ else }}
|
||||
<a href="{{ .url }}" target="/"><i class="{{ .icon }}"></i></a>
|
||||
<a href="{{ .url }}" target="_blank"><i class="{{ .icon }}"></i></a>
|
||||
{{ end }}
|
||||
</li>
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue