23maverick23/sublime-jekyll

Suggestion: fallback to project path + standard relative paths

espen opened this issue · 0 comments

espen commented

When trying to create a draft I am getting the error "Path is null for "_drafts" directory."

I see that I must either enable the jekyll_auto_find_paths setting for the plugin to check the folders in the sidebar or set paths specifically for each project. This option isn't great and setting paths for each project is tedious if there are many websites.

My setup is with a sublime project which has a path defined. The jekyll config is the standard with _drafts and _posts. Instead of having to set these paths for each project, wouldn't it be better to fall back to standard Jekyll relative paths based on the sublime project path.

So, sublime project path: /projects/cool-blog/
No config added should use ./_drafts and ./_posts etc

Would this be possible?