[ https://issues.apache.org/jira/browse/MSKINS-174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17532510#comment-17532510 ]
Michael Osipov commented on MSKINS-174: --------------------------------------- I have an idea how to solve this. It is not perfect, but I don't want to repeat/copy the conditions around the div to decide whether the this is going to be empty or not. > Render breadcrumbs div conditionally > ------------------------------------ > > Key: MSKINS-174 > URL: https://issues.apache.org/jira/browse/MSKINS-174 > Project: Maven Skins > Issue Type: Improvement > Components: Fluido Skin > Affects Versions: fluido-1.9 > Reporter: Konrad Windszus > Priority: Major > Attachments: breadcrumb-div.png > > > Currently the breadcrumb div is always rendered even if it is empty > (https://github.com/apache/maven-fluido-skin/blob/dda45e9236f90dc8493fcc917a99716212825573/src/main/resources/META-INF/maven/site.vm#L202). > That leads to the issue that a grey bar is rendered in case the publish date > is not rendered at the top (left or right): !breadcrumb-div.png! > That div should be rendered only conditionally in case there is > # at least one breadcrumb item or > # the publish date is positioned "left" or "right" -- This message was sent by Atlassian Jira (v8.20.7#820007)