Closed dhulihan closed 12 years ago
Ok, this theme now includes the rendered css, and scss file is now stored in assets/hooligan/css/_sass
, in case anyone wants to generate it dynamically.
dhulihan,
sass newb here. How would we generate the css? Do we use that style.scss as the config.rb?
Sloan
If you do want to generate the css, you'd use a sass plugin like this one. Your config.rb would look something like this:
# config.rb
http_path = "/"
css_dir = "assets/themes/hooligan/css"
sass_dir = "assets/themes/hooligan/_sass"
images_dir = "images"
javascripts_dir = "javascripts"
Hi dihulihan,
Thanks so much for the quick response.
One problem though. I haven't been able to figure out how to get the jekyll bootstrap server to read from the new css compass generates (with auto turned on). So I'm having it write the css to the _site's css file and will have to remember to compile it using your config every time the server runs.
Do you know of a better way? I know this is out of scope of the original problem, I am planning on uploading to github so I cannot use any plugins if I understand their terms of use correctly.
Since Jekyll-Bootstrap is made for github-pages (which doesn't support plugins, including SASS), I should include a copy of its stylesheet rendered as
.css
, so there's no need for a plugin.