FIX Widget titles may not be defined, in which case having an empty heading element is bad for accessibility

This commit is contained in:
Robbie Averill 2019-05-02 13:46:57 +12:00
parent ad320d7d88
commit 04dfad688e

View File

@ -1,4 +1,4 @@
<nav class="secondary">
<h3>$Title</h3>
$Content
<% if $Title %><h3>$Title</h3><% end_if %>
$Content
</nav>