Skip to content

Commit

Permalink
fix when site.email is empty to avoid html-proofer errors
Browse files Browse the repository at this point in the history
  • Loading branch information
oncleben31 committed Sep 27, 2016
1 parent 2fa776d commit 0b9f751
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ <h2 class="footer-heading">{{ site.title | escape }}</h2>
{{ site.title | escape }}
{% endif %}
</li>
<li><a href="mailto:{{ site.email }}">{{ site.email }}</a></li>
{% if site.email %}
<li><a href="mailto:{{ site.email }}">{{ site.email }}</a></li>
{% endif %}
</ul>
</div>

Expand Down

0 comments on commit 0b9f751

Please sign in to comment.