Enabling static files somewhere else

This commit is contained in:
Thomas Forgione
2017-09-30 11:48:28 +02:00
parent 5ad9d41eca
commit a6753d9f44
4 changed files with 15 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ html
meta(charset='utf-8')
meta(name='viewport', content='width=device-width, initial-scale=1, shrink-to-fit=no')
block css
link(rel='stylesheet', href='/static/bootstrap/css/bootstrap.min.css')
link(rel='stylesheet', href=getStatic('bootstrap/css/bootstrap.min.css'))
style.
.navbar .btn {
margin-right: 10px;
@@ -47,8 +47,8 @@ html
.container
block content
script(src='/static/bootstrap/js/jquery.min.js')
script(src='/static/bootstrap/js/popper.min.js')
script(src='/static/bootstrap/js/bootstrap.min.js')
script(src=getStatic('bootstrap/js/jquery.min.js'))
script(src=getStatic('bootstrap/js/popper.min.js'))
script(src=getStatic('bootstrap/js/bootstrap.min.js'))
block extrajs