diff options
author | Alan Pearce | 2017-06-23 13:15:37 +0200 |
---|---|---|
committer | Alan Pearce | 2017-06-23 13:15:37 +0200 |
commit | a589dc2be7482a507716c2b312995a828ec809fb (patch) | |
tree | c5a4c5834b642cc58caeba199345bb3ac9af09a7 /layouts/partials/sidebar.html | |
parent | 8e1c2c6e9ef67a4a243efabbabfed6a937cebd1b (diff) | |
download | hyde-a589dc2be7482a507716c2b312995a828ec809fb.tar.lz hyde-a589dc2be7482a507716c2b312995a828ec809fb.tar.zst hyde-a589dc2be7482a507716c2b312995a828ec809fb.zip |
Update menu email check
Diffstat (limited to 'layouts/partials/sidebar.html')
-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> |