Include CSS files inside styles.less, reduces number of HTTP requests
parent
e3efd9e9d8
commit
6934aa1f98
|
@ -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";
|
||||
|
||||
|
|
|
@ -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}')
|
||||
|
|
Loading…
Reference in New Issue