diff options
author | tcx4c70 <tcx4c70@gmail.com> | 2022-04-10 13:42:30 +0300 |
---|---|---|
committer | MERT BAKIR <mertbakxr@gmail.com> | 2022-04-10 13:42:30 +0300 |
commit | f4111941739210c2f008e79af5d62dd8d2388bf7 (patch) | |
tree | 841e84f647ded8ef30007cef4d76f19cadec9198 | |
parent | 54e4d064bd92d0cb1a4ce03a2746eb93fac886e3 (diff) |
Add link to mailto:
-rw-r--r-- | layouts/partials/header.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 3ddbd6b..b2ddd55 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -10,8 +10,10 @@ {{- end -}} {{- if and .phone .email }} | {{ end -}} {{- with .email -}} - {{- if $.useFontAwesome }}<i class="fas fa-envelope"></i> {{ end -}} - {{- . -}} + <a href="mailto:{{- . -}}" class="no-external-icon"> + {{- if $.useFontAwesome }}<i class="fas fa-envelope"></i> {{ end -}} + {{- . -}} + </a> {{- end -}} </span> {{- end }} |