mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge pull request #514 from streeter/asset_url_doc_fix
Correctly use the right variable for webassets
This commit is contained in:
commit
a9d370f7be
1 changed files with 1 additions and 1 deletions
|
|
@ -505,7 +505,7 @@ Another example for Javascript:
|
|||
.. code-block:: jinja
|
||||
|
||||
{% assets filters="uglifyjs,gzip", output="js/packed.js", "js/jquery.js", "js/base.js", "js/widgets.js" %}
|
||||
<script src="{{ ASSETS_URL }}"></script>
|
||||
<script src="{{ ASSET_URL }}"></script>
|
||||
{% endassets %}
|
||||
|
||||
The above will produce a minified and gzipped JS file:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue