Created
December 13, 2012 14:07
-
-
Save chipcullen/4276592 to your computer and use it in GitHub Desktop.
A fix for Drupal and Codekit. As described here - http://www.nickcomito.me/notebook/codekit-doesnt-refresh-after-compiling-sass-drupal - Codekit and Drupal don't get a long right out of the box. Add this to your html.tpl.php right after <?php print $styles; ?> and your SASS changes will be injected per normal via Codekit. Big shout out to Nick C…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="stylesheet" href="/<?php print path_to_theme(); ?>/css/style.css" /> |
I'm sorry - I'm only seeing your comment now. That module looks pretty sweet - thank you for pointing it out!
I tried your module out, and it works great! I even blogged about the whole thing: http://chipcullen.com/drupal-codekit-try-link-css/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey. I've developed a module which provides a more robust solution for this problem:
http://drupal.org/project/link_css
It forces Drupal to load all CSS using link elements and avoids the need to manually add links for each stylesheet.