aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2017-05-09 11:43:48 +0200
committerGitHub <noreply@github.com>2017-05-09 11:43:48 +0200
commitb28c5430efefa63d04d87404c99798e82d0427e4 (patch)
tree0bf158fb56120be6624fa26639a28beb84a6598e /src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig
parent43f81a62e93fb20c7af619a5132276706e989c62 (diff)
parentefac66cb56d650b863b64c9c4582589da6a2442a (diff)
downloadwallabag-b28c5430efefa63d04d87404c99798e82d0427e4.tar.gz
wallabag-b28c5430efefa63d04d87404c99798e82d0427e4.tar.zst
wallabag-b28c5430efefa63d04d87404c99798e82d0427e4.zip
Merge pull request #3022 from wallabag/webpack
Adds Webpack support and remove Grunt
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig
index 07ff8e14..42aeace9 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig
@@ -2,12 +2,14 @@
2 2
3{% block css %} 3{% block css %}
4 {{ parent() }} 4 {{ parent() }}
5 <link rel="stylesheet" href="{{ asset('bundles/wallabagcore/themes/baggy/css/style.min.css') }}" media="screen,projection,print"/> 5 {% if not app.debug %}
6 <link rel="stylesheet" href="{{ asset('bundles/wallabagcore/baggy.css') }}">
7 {% endif %}
6{% endblock %} 8{% endblock %}
7 9
8{% block scripts %} 10{% block scripts %}
9 {{ parent() }} 11 {{ parent() }}
10 <script src="{{ asset('bundles/wallabagcore/themes/baggy/js/baggy.min.js') }}"></script> 12 <script src="{{ asset('bundles/wallabagcore/baggy' ~ (app.debug ? '.dev' : '') ~ '.js') }}"></script>
11{% endblock %} 13{% endblock %}
12 14
13{% block header %} 15{% block header %}