1
0
Fork 0
forked from github/pelican

Correctly use the right variable for webassets

According to [the webasset docs](http://webassets.readthedocs.org/en/latest/integration/jinja2.html#using-the-tag)
the variable should be `ASSET_URL` instead of `ASSETS_URL`.
This commit is contained in:
Chris Streeter 2012-09-19 10:24:51 -07:00 committed by Alexis Métaireau
commit da1efcd847

View file

@ -509,7 +509,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: