Add link to mailto:

This commit is contained in:
tcx4c70 2022-04-10 10:42:30 +00:00 committed by MERT BAKIR
parent 54e4d064bd
commit f411194173

View file

@ -10,8 +10,10 @@
{{- end -}} {{- end -}}
{{- if and .phone .email }} | {{ end -}} {{- if and .phone .email }} | {{ end -}}
{{- with .email -}} {{- with .email -}}
<a href="mailto:{{- . -}}" class="no-external-icon">
{{- if $.useFontAwesome }}<i class="fas fa-envelope"></i> {{ end -}} {{- if $.useFontAwesome }}<i class="fas fa-envelope"></i> {{ end -}}
{{- . -}} {{- . -}}
</a>
{{- end -}} {{- end -}}
</span> </span>
{{- end }} {{- end }}