Include CSS files inside styles.less, reduces number of HTTP requests

pull/2/head
Sahat Yalkabov 2014-01-31 00:29:29 -05:00
parent e3efd9e9d8
commit 6934aa1f98
2 changed files with 4 additions and 3 deletions

View File

@ -1,3 +1,7 @@
// Using (less) in front of a CSS file tells LESS compiler to include contents of CSS.
// As a benefit, this will reduce the number of requests.
@import (less) "lib/animate.css";
@import (less) "lib/font-awesome.min.css";
@import "lib/bootstrap/bootstrap";
@import "themes/default";

View File

@ -9,9 +9,6 @@ html
title #{title} - Starter Template for Bootstrap
link(href='/css/lib/font-awesome.min.css?v=#{cacheBuster}', rel='stylesheet')
link(href='/css/lib/animate.css?v=#{cacheBuster}', rel='stylesheet')
link(href='/css/styles.css?v=#{cacheBuster}', rel='stylesheet')
script(src='/js/lib/jquery.js?v=#{cacheBuster}')