Uploaded image for project: 'Maven Skins'
  1. Maven Skins
  2. MSKINS-174

Render breadcrumbs div conditionally

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • fluido-1.9
    • fluido-1.11.0
    • Fluido Skin
    • None

    Description

      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):

      That div should be rendered only conditionally in case there is

      1. at least one breadcrumb item or
      2. the publish date is positioned "left" or "right"

      Attachments

        1. breadcrumb-div.png
          179 kB
          Konrad Windszus

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: