about summary refs log tree commit diff stats
path: root/layouts/partials/sidebar.html
diff options
context:
space:
mode:
authorAlan Pearce2017-06-23 13:15:37 +0200
committerAlan Pearce2017-06-23 13:15:37 +0200
commita589dc2be7482a507716c2b312995a828ec809fb (patch)
treec5a4c5834b642cc58caeba199345bb3ac9af09a7 /layouts/partials/sidebar.html
parent8e1c2c6e9ef67a4a243efabbabfed6a937cebd1b (diff)
downloadhyde-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.html2
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>