Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add force show drafts configuration option #693

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rpeyron
Copy link
Contributor

@rpeyron rpeyron commented Oct 31, 2022

force_show_drafts

On some cases you want to use multiple config files or --drafts command line switch that won't be properly
detected by jekyll-admin. This flag can force jekyll-admin to display the draft section in the sidebar
even if show_draft: true hasn't been detected in the config file.

It will only force display, not enable drafts. So be sure to have enabled drafts on jekyll.

jekyll_admin:
  force_show_drafts: true

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.

None yet

1 participant