How to use Compass/Codekit with Jekyll -
i created first test site jekyll , hosting on github pages.
i've been playing around it, i'm having hard time figuring out best way set codekit work jekyll code injection on _site/css file , saves changes on /sitename/css file style changes reflected on hosted site on github pages (which re-output file based on css parent directory.
so far, figured out can work locally going config.rb , changing
css_dir = "css"
to
css_dir = "/_site/css"
and changing when want push github.
this extremely janky though, figured else had better way make work.
start codekit project within jekyll project's root directory (ie: path run
$ jekyll build --watch
generate static site).in codekit project settings, go browser refreshing menu, , in website root subpath field, type destination jekyll outputs static site (which
_site
default).
this work whether or not using css pre-processors (sass, scss, less).
Comments
Post a Comment