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

Saving error when collections_dir is configured

Open Gimbardo opened this issue 1 year ago • 0 comments

Description:

When saving a page that is located inside "all_collections/_sheets/name.md" it is moved inside "_sheets/name.md". I configured my _config.yml with this for jekyll, but jekyll admin seems unable to catch it up

collections_dir: all_collections

Tell us a bit about yourself:

  • Version of JekyllAdmin I'm using: 0.11.1
  • Version of Jekyll I'm using: 3.9.3
  • Version of NodeJS I'm using: 21.4.0
  • Operating System: Linux Mint
  • Browser: Chrome and Firefox

Steps to reproduce:

  • configure your application changing _config.yml to include these lines:
collections_dir: all_collections
collections:
  sheets:
    output: true
  • create an "all_collections" folder inside your project root, with inside the "_sheets" folder, and inside that a markdown file
  • edit said markdown file using jekyll-admin

I expected the following:

File being saved in the correct folder (all_collections/_sheets/filename.md)

But got the following, instead:

File being saved in the incorrect folder (_sheets/filename.md)

Other details:

image image

Gimbardo avatar Jul 09 '24 19:07 Gimbardo