-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Task to compile Less #61
base: master
Are you sure you want to change the base?
Task to compile Less #61
Conversation
|
||
SOURCE = "." | ||
LESS = File.join(SOURCE, "assets", "themes", "twitter") # set theme here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestions welcome for dealing with this. Read in _config.yml, perhaps? It seems a lot of work just to get a variable. It's a pain because the theme is jekyll-land, whereas the Rakefile is JB-land.
@pfig this looks great for LESS users but I can only require a gem dependency if it significantly a part of a core feature. What you can do is take everything you've written here and add it to its own file then load it in using this line: https://github.com/plusjade/jekyll-bootstrap/blob/master/Rakefile#L308 Basically any files in If and when you get this in please repost here. Then I'll add a note about it in the documentation website so users can download your code. What do you think? |
Oh wow, I hadn't noticed that before, talk about looking at a tree and missing the forest :) Yes, that sounds good, thank you! I'll create a gist and post the link here later today. |
Thanks for the quick work, @pfig . I will get this properly documented on http://jekyllbootstrap.com as soon as I can. Once it's documented and referenced, I'll close the issue by providing the link. I appreciate you taking the time to contribute - thanks! |
@pfig, any chance you can you instruct me on using this? I added the '''_rake/lessc.rake''' to the site root. what next? (thanks) |
Moving Rakefile tasks to new v 0.6.0 release. |
Hi,
I've added a task to compile Less (which I assume will be at the same level as the css directory for the theme).
I'm not 100% happy with having to edit the Rakefile to set the theme, but hey, this is for hackers, right?
Thank you so much for your work in JB, I now have a company website that doesn't suck :)
Cheers,
Pedro