jekyll-admin icon indicating copy to clipboard operation
jekyll-admin copied to clipboard

Add force show drafts configuration option

Open rpeyron opened this issue 2 years ago • 0 comments

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

rpeyron avatar Oct 31 '22 10:10 rpeyron