Fix Redundant Section and Title in Community Portal
Issue
The Community portal displays the section and title name making it repetitive.
Fix
Both the TPO and Community portal utilize the header.html
from the Lego repo. We need to add a conditional to only show the section name when it does not equal the title name. Moreover, to make this headache proof, we should use the lower() method on both this.section
and this.title
strings just in case someone documents one as capitalized or not.
Screen Captures
Community -
TPO -