Use asset concatenation functions for loading styles and scripts inside layout file
This commit is contained in:
committed by
Sahat Yalkabov
parent
db1a185343
commit
defa74f022
@ -8,12 +8,9 @@ html
|
||||
meta(name='author', content='')
|
||||
|
||||
title #{title} - Starter Template for Bootstrap
|
||||
!= css('styles')
|
||||
!= js('application')
|
||||
|
||||
link(href='/css/styles.css?v=#{cacheBuster}', rel='stylesheet')
|
||||
|
||||
script(src='/js/lib/jquery-2.1.0.min.js?v=#{cacheBuster}')
|
||||
script(src='/js/lib/bootstrap.min.js?v=#{cacheBuster}')
|
||||
script(src='/js/main.js?v=#{cacheBuster}')
|
||||
body
|
||||
#wrap
|
||||
include partials/navigation
|
||||
|
Reference in New Issue
Block a user