ifActive function

Renders the truthy section if the current item's name matches the current docObject being rendered