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:
parent
a2307565ac
commit
6f5766aa1a
1 changed files with 2 additions and 0 deletions
|
@ -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 }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue