Edit drafts
I'm using the latest version of Jekyll and jekyll-admin on latest OSX / Google Chrome.
Steps to reproduce
- store a post in
_draftsfolder - set
show_drafts: truein_config.yml - Display list of posts in jekyll-admin
- click on a post stored in
_draftsfolder
Expected
I can edit drafts in jekyll-admin (whether they are stored in a dedcated drafts section or tagged as drafts in the posts section)
Temporary workaround: Don't display drafts amongst posts if they can not be edited 😇
Actual
Page : Could not find document Notification: Could not fetch the doc
If I edit a post and then try to edit a draft, then the last edited post is displayed instead of the draft, but the notification "Could not fetch the doc" is also displayed as shown in the following screenshot:

I have the same problem in the same environment. Editing drafts doesn't working.
Related with #150, #163. We need to list directories & files separately for the collection/page APIs to be able to show posts/pages in directories. Same approach with PR #244 that @bekicot is working on.
This issue has been automatically marked as stale because it has not been commented on for at least two months.
The resources of the Jekyll team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.
This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions.
+1
+1 Thank you
Hi. This feature sounds great. Is there any way I can help get this across the line?
Hi @xow . We have a PR for this one #367 . You can check it out.
This was supposedly fixed, but jekyll-admin 0.11.0 does not show draft posts with Jekyll 4.2.1.
@mslinn Did you enable drafts in your config file by having top-level defn. show_drafts: true?
If yes, please open a new issue ticket with screenshots attached to demonstrate the issue.
@ashmaroli The docs on the front page of this project are presumably meant to provide a complete list of options. show_drafts is not mentioned in any documentation that I could find.
I tried setting it, and no drafts were found. My drafts are in collections/_drafts, Perhaps the plugin does not account for how collections can be structured since Jekyll 3.7.0.
Like I stated in the previous comment, please open a new issue ticket with screenshots attached to demonstrate the issue.
Screenshots should show the config file entry and the drafts panel in the sidebar (irrespective of whether Jekyll detects draft documents. If the sidebar doesn't show the drafts panel, you may have to restart the local server for your config changes to be considered).