Skip to content

added optional option skipns for simplenavi call#14

Open
solewniczak wants to merge 4 commits intocosmocode:masterfrom
gkrid:skipns
Open

added optional option skipns for simplenavi call#14
solewniczak wants to merge 4 commits intocosmocode:masterfrom
gkrid:skipns

Conversation

@solewniczak
Copy link

Maybe it takes a bit of simplicity from this plugin but nevertheless it's very useful to me. I've added optional syntax for skipping namespaces in individual simplenavi instances. Syntax:
{{simplenavi>|skipns=pages to skip as in hidepages }}

The main reason for this modification is using simplenavi together with translation plugin to hide translation namespaces:
{{simplenavi>|skipns=en}}

@solewniczak
Copy link
Author

What do you think about this feature?

@solewniczak
Copy link
Author

Do you want to merge this feature into master?

@splitbrain
Copy link
Member

The main reason for this modification is using simplenavi together with translation plugin to hide translation namespaces

Hmm, I assume you use it in a sidebar. Wouldn't it be easier to have sidebars in each translation namespace, each using simplenavi to only list the currently selected language?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants