Add a tel: link to the About Page (#246)
just like a `mailto:` link triggers an email, a `tel:` link will allow you to call someone directly from the page. I've added this.
This commit is contained in:
@@ -30,6 +30,8 @@
|
|||||||
<li>
|
<li>
|
||||||
{{ if eq .name "Email" }}
|
{{ if eq .name "Email" }}
|
||||||
<a href="mailto:{{ .url }}" target="/"><i class="{{ .icon }}"></i></a>
|
<a href="mailto:{{ .url }}" target="/"><i class="{{ .icon }}"></i></a>
|
||||||
|
{{ else if eq .name "Phone" }}
|
||||||
|
<a href="tel:{{ .url }}" target="/"><i class="{{ .icon }}"></i></a>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<a href="{{ .url }}" target="/"><i class="{{ .icon }}"></i></a>
|
<a href="{{ .url }}" target="/"><i class="{{ .icon }}"></i></a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user