Use getBundleFileUrl for JavaScript files
This commit is contained in:
parent
72b878ef81
commit
21f0f53d9c
|
@ -33,10 +33,10 @@
|
|||
{% block favicon %}{% include "global/favicon.njk" %}{% endblock %}
|
||||
|
||||
{# JavaScript #}
|
||||
<script src="{% getBundleFileUrl 'js' %}" defer></script>
|
||||
{% if toc %}
|
||||
<script src="{{'/assets/js/details-utils.js'}}" defer></script>
|
||||
{% endif %}
|
||||
<script>{% getBundle "js" %}</script>
|
||||
|
||||
<title>
|
||||
{% block pageTitle %}{{ title + " | " if title }}{{ sitemeta.siteName | safe }}{% endblock %}
|
||||
|
|
Loading…
Reference in New Issue