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

auto selecting jekyll config file

Open GeekinaCave opened this issue 8 years ago • 4 comments

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 :confused:

GeekinaCave avatar Mar 11 '17 21:03 GeekinaCave

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

benbalter avatar Mar 13 '17 13:03 benbalter

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

ashmaroli avatar Mar 13 '17 18:03 ashmaroli

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

GeekinaCave avatar Apr 24 '17 02:04 GeekinaCave

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

ashmaroli avatar Apr 24 '17 02:04 ashmaroli