Include CSS files inside styles.less, reduces number of HTTP requests
This commit is contained in:
@ -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 "lib/bootstrap/bootstrap";
|
||||||
@import "themes/default";
|
@import "themes/default";
|
||||||
|
|
||||||
|
@ -9,9 +9,6 @@ html
|
|||||||
|
|
||||||
title #{title} - Starter Template for Bootstrap
|
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')
|
link(href='/css/styles.css?v=#{cacheBuster}', rel='stylesheet')
|
||||||
|
|
||||||
script(src='/js/lib/jquery.js?v=#{cacheBuster}')
|
script(src='/js/lib/jquery.js?v=#{cacheBuster}')
|
||||||
|
Reference in New Issue
Block a user