Add asset management using grunt-include-source.

This commit is contained in:
Alexis Lahouze 2016-02-17 08:26:43 +01:00
parent e38c18c118
commit 17e3b56d5c

View File

@ -23,10 +23,10 @@
<!-- Title --> <!-- Title -->
<title>Accountant</title> <title>Accountant</title>
<!-- main css --> <!-- Custom styles -->
{% assets 'frontend_css' %} <!-- include: "type": "css", "files": "static/css/*.css" -->
<link href="{{ ASSET_URL }}" rel="stylesheet"> <link href="static/css/main.css" rel="stylesheet" type="text/css">
{% endassets %} <!-- /include -->
<!-- bower:css --> <!-- bower:css -->
<link rel="stylesheet" href="static/bower_components/bootstrap/dist/css/bootstrap.css" /> <link rel="stylesheet" href="static/bower_components/bootstrap/dist/css/bootstrap.css" />
@ -77,9 +77,12 @@
<!-- endbower --> <!-- endbower -->
<!-- Custom Javascript libraries --> <!-- Custom Javascript libraries -->
{% assets "frontend_js" %} <!-- include: "type": "js", "files": "static/js/*.js" -->
<script type="text/javascript" src="{{ ASSET_URL }}"></script> <script src="static/js/accounts.js"></script>
{% endassets %} <script src="static/js/app.js"></script>
<script src="static/js/operations.js"></script>
<script src="static/js/scheduler.js"></script>
<!-- /include -->
</body> </body>
</html> </html>