diff options
-rw-r--r-- | layouts/partials/sidebar.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index c603a93..ba935ae 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -23,7 +23,7 @@ <ul class="contact-list"> {{ range .Site.Menus.contact }} <li> - {{ if (isset . "isEmail") }} + {{ if hasPrefix .URL "mailto:" }} <a href="{{ .URL }}" class="u-email email" rel="me">{{ .Name }}</a> {{ else }} <a href="{{ .URL }}" itemprop="url" rel="me">{{ .Name }}</a> |