You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hervé Boutemy (JIRA)" <ji...@apache.org> on 2017/11/25 16:30:00 UTC

[jira] [Commented] (MSKINS-138) add option to avoid sidebar on some pages

    [ https://issues.apache.org/jira/browse/MSKINS-138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16265759#comment-16265759 ] 

Hervé Boutemy commented on MSKINS-138:
--------------------------------------

one idea that looks feasible: add a sideBarSkipped element in skin configuration that would list the filenames where the sidebar should not be shown
{code:xml}
    <project name="xxx">
      [...]
      <custom>
        <fluidoSkin>
          <topBarEnabled>true</topBarEnabled>
          <sideBarEnabled>false</sideBarEnabled>
          <sideBarSkipped>index.html,top-page.html</sideBarSkipped>
        </fluidoSkin>
      </custom>
      [...]
    </project>{code}

Another option would be to add something in Doxia Site Renderer to be able to add the info directly in the Doxia source markup: for example a meta tag in a html header (for Doxia markup languages that permit such headers tweaking).

> add option to avoid sidebar on some pages
> -----------------------------------------
>
>                 Key: MSKINS-138
>                 URL: https://issues.apache.org/jira/browse/MSKINS-138
>             Project: Maven Skins
>          Issue Type: Improvement
>          Components: Fluido Skin
>    Affects Versions: fluido-1.6
>            Reporter: Hervé Boutemy
>
> a few pages, like frontpage, would require to avoid the sidebar to be able to have more flexible design, then let general pages with the classical sidebar
> (see https://discourse.opensourcedesign.net/t/jobs-redesign-maven-website/394 for the initial discussion that lead to this)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)