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:
George Cushen committed 2020-12-04 15:45:16 +00:00
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">