diff --git a/public/css/styles.less b/public/css/styles.less index ec64e256df..d39071ac62 100644 --- a/public/css/styles.less +++ b/public/css/styles.less @@ -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"; diff --git a/views/layout.jade b/views/layout.jade index 348eedf2f9..0e6b61b6e8 100644 --- a/views/layout.jade +++ b/views/layout.jade @@ -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}')