Adding Jekyll to an existing website -
i have simple website , tried add jekyll blog in in new folder blog
have run jekyll new blog
in folder /path
. when i'm running command jekyll build
in /path
have these errors:
$ jekyll build configuration file: none source: /path destination: /path/_site generating... build warning: layout 'post' requested in blog/_posts/2015-06-14-welcome-to-jekyll.markdown not exist. build warning: layout 'default' requested in blog/index.html not exist. conversion error: jekyll::converters::scss encountered error converting 'blog/css/main.scss'. conversion error: file import not found or unreadable: /blog/_sass/base.scss. load paths: on line 47
i solved first problem (configuration file: none
) moving _config.yml
in parent folder, still have problems when requesting layout using
--- layout: default ---
the imports in main.scss
are not working (last error).
if i'm doing same command jekyll build
in /path/blog
after moving again _config.yml
, have no errors. know how able jekyll build
in parent folder configuration have? have entirely change architecture of website include jekyll blog in it?
you config.yml
in /path
source: /_jekyll destination: /blog baseurl: /blog
your jekyll sources in /path/_jekyll
.
and generated files in /path/blog
.
ready deploy !
Comments
Post a Comment