Skip to content

Commit

Permalink
Fix link to email address (hugo-toha#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbleduigou committed Jun 25, 2020
1 parent 5517dae commit fb7b04d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion layouts/partials/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ <h5 class="p-1">
<ul class="social-link d-flex">
{{ range .Site.Data.about.socialLinks }}
<li>
<a href="{{ .url }}" target="/"><i class="{{ .icon }}"></i></a>
{{ if eq .name "Email" }}
<a href="mailto:{{ .url }}" target="/"><i class="{{ .icon }}"></i></a>
{{ else }}
<a href="{{ .url }}" target="/"><i class="{{ .icon }}"></i></a>
{{ end }}
</li>
{{ end }}
</ul>
Expand Down

0 comments on commit fb7b04d

Please sign in to comment.