Merge pull request #940 from openclassify/assets

optimize assets
This commit is contained in:
Fatih Alp 2021-02-08 12:01:32 +03:00 committed by GitHub
commit 84fc4e1b18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@
{{ asset_add("theme.js", "visiosoft.theme.base::js/theme/search.js") }}
{{ asset_add("theme.js", "visiosoft.theme.base::js/theme/modal.js") }}
{{ asset_script("theme.js") }}
{{ asset_script("theme.js",['min']) }}
{{ addBlock('theme/partials/assets/additional-assets')|raw }}

View File

@ -20,7 +20,7 @@
<script src="{{ asset_path('visiosoft.theme.base::js/vendor/jquery.min.js') }}"></script>
{{ asset_script('visiosoft.theme.base::js/visiosoft.js') }}
{{ asset_style("theme.css") }}
{{ asset_style("theme.css",["min"]) }}
{% include "visiosoft.theme.base::partials/styles" %}