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
1 changed files with 4 additions and 4 deletions

View File

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