Skip to content

auto selecting jekyll config file #321

Open

Description

@GeekinaCave

Description:

Jekyll-admin does not load the configuration file selected for start Jekyll.

Tell us a bit about yourself:

  • Version of JekyllAdmin I'm using : 0.4.0
  • Version of Jekyll I'm using : 3.4.1
  • Operating System : Windows 10 x64
  • Browser : Waterfox

Steps to reproduce:

I'm using two Jekyll config files: a _config_dev.yml for local testing and _config.yml for GitHub pages, in that way; i can tinkering with jekyll without mess the live web page.

I use this command for the local testing:

jekyll serve --config _config_dev.yml --drafts --incremental

then i put in my browser

http://localhost:4000/admin/configuration

I expected the following:

jekyll-admin show the content of the config file selected in jekyll: _config_dev.yml

But got the following, instead:

jekyll-admin use as configuration reference _config.yml instead the one i mark for run jekyll 😕

Activity

  1. benbalter commented on Mar 13, 2017

    @benbalter
    Contributor

    We're using Jekyll.sites.first. This should be the same config.

  2. ashmaroli commented on Mar 13, 2017

    @ashmaroli
    Member

    We're using Jekyll.sites.first. This should be the same config.

    Yes, but nowhere in the API do we set config = JekyllAdmin.site.config (I couldn't find it)
    But the config file in relation to this issue is defined here

  3. GeekinaCave commented on Apr 24, 2017

    @GeekinaCave
    Author

    Guys, i recently update to Jekyll 3.4.3 and Jekyll-admin 0.4.1 and still have the same problem 😢

  4. ashmaroli commented on Apr 24, 2017

    @ashmaroli
    Member

    Our apologies @GeekinaCave, a proposal to fix this is under review. Please subscribe to #322 to keep track of any developments with it.

  5. obalus commented on May 18, 2026

    @obalus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions