Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add ability to disable menu bar #911

Closed

Conversation

domenkozar
Copy link

No description provided.

@@ -39,6 +39,7 @@ Setting name (default value) What doe
``DEFAULT_CATEGORY`` will be used as a fallback.
`DEFAULT_CATEGORY` (``'misc'``) The default category to fall back on.
`DEFAULT_DATE_FORMAT` (``'%a %d %B %Y'``) The default date format you want to use.
`DISPLAY_MENU` (``True``) Whether to display menu.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe should you add that to the "notmyidea theme" section instead? Since that's tied to themes / templates, that's not really an option that can be used everywhere (e.g. the themes need to implement it to make it work as intended). It could be good to clarify that in the docs.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, then we have to do the same for DISPLAY_PAGES_ON_MENU and DISPLAY_CATEGORIES_ON_MENU

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right!

@russkel
Copy link
Contributor

russkel commented Aug 1, 2013

Hmm. Is customising themes really something that should be done via settings? I thought if you didn't want a menubar you'd just remove it from your template.

@almet
Copy link
Member

almet commented Aug 16, 2013

@russkel that is true, but having a way to customize the default templates of pelican can become handy

@almet
Copy link
Member

almet commented Aug 16, 2013

@iElectric any update?

@domenkozar
Copy link
Author

Sorry, don't have the time to update this now, I'll put it on TODO :)

@justinmayer
Copy link
Member

Hi Domen. Would you be so kind as to make the changes @ametaireau mentioned and then rebase and squash your commits? Would be great to get this wrapped up. (^_^)

@kylef
Copy link
Member

kylef commented Oct 8, 2013

To better facilitate theme based settings, we should perhaps add a way for themes to provide default settings.

This could be done as either a python file in the theme, or perhaps a YAML/ini/JSON file which is applied on-top of the "default" settings but before the user defined settings.

@almet
Copy link
Member

almet commented Oct 8, 2013

yeah, that sounds like a good option. I believe reusing what sphinx does would be a way to do cool stuff, that is:

  • let the themes extend another basic theme of their choice
  • let the themes have a default setting.

@domenkozar
Copy link
Author

Before I finish this one, the consensus is to move setting to theme settings, along with DISPLAY_PAGES_ON_MENU and DISPLAY_CATEGORIES_ON_MENU and update documentation?

@justinmayer
Copy link
Member

@iElectric: My understanding is that is indeed the consensus. (^_^)

@justinmayer
Copy link
Member

Hi Domen. Any update on this topic?

@justinmayer
Copy link
Member

Hey @iElectric. Just looking at the pull request queue and wondering if you might have time to wrap this one up. What do you think?

@domenkozar
Copy link
Author

@justinmayer hey. All good, I'll put it on high priority TODO.

@justinmayer
Copy link
Member

Hi @iElectric. I thought I'd see if you might be willing to help us close out this pull request and get your contribution merged. Do you think that's possible?

@justinmayer
Copy link
Member

@iElectric: If you decide you'd like to continue working on this pull request, please post a comment here and I'll re-open it.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants