mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-14 14:17:07 +00:00
feat(widget): show email (if entered) in About widget
Previously email only shown if exists and the email form is disabled. However, both Formspree and Netlify no longer use email address as a parameter, and received request to show email (if entered), in addition to email form, so visitors have the choice to use their usual email client to send a message. Therefore, show the email address if it was entered.
This commit is contained in:
1 parent
cdcfa2da28
commit
b634d637f1
1 file changed
+1
-1
@@ -59,7 +59,7 @@
|
||||
|
||||
<ul class="fa-ul">
|
||||
|
||||
{{ if and $data.email (not $use_form) }}
|
||||
{{ if $data.email }}
|
||||
<li>
|
||||
<i class="fa-li fas fa-envelope fa-2x" aria-hidden="true"></i>
|
||||
<span id="person-email">
|
||||
|
||||
Reference in new issue
Block a user