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
1 changed files with 10 additions and 7 deletions

View File

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