Skip to content

Saving error when collections_dir is configured  #710

@Gimbardo

Description

@Gimbardo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions