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

auto selecting jekyll config file #321

Open
GeekinaCave opened this issue Mar 11, 2017 · 4 comments
Open

auto selecting jekyll config file #321

GeekinaCave opened this issue Mar 11, 2017 · 4 comments

Comments

@GeekinaCave
Copy link

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 😕

@benbalter
Copy link
Contributor

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

@ashmaroli
Copy link
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

@GeekinaCave
Copy link
Author

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

@ashmaroli
Copy link
Member

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

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

No branches or pull requests

4 participants