Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saving error when collections_dir is configured #710

Open
Gimbardo opened this issue Jul 9, 2024 · 0 comments
Open

Saving error when collections_dir is configured #710

Gimbardo opened this issue Jul 9, 2024 · 0 comments

Comments

@Gimbardo
Copy link

Gimbardo commented Jul 9, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant