Added filter to suffix strings with a timestamp query string.
This is useful for changes made to the stylesheets for cache-busting purposes.
This commit is contained in:
parent
ff39763b5e
commit
e33729852e
2 changed files with 5 additions and 1 deletions
|
|
@ -9,7 +9,7 @@
|
|||
{% if helpers.environment === 'development' %}
|
||||
<link rel="stylesheet" href="{{ '/css/main.css' | url }}">
|
||||
{% else %}
|
||||
<link rel="stylesheet" href="{{ '/css/main.min.css' | url }}">
|
||||
<link rel="stylesheet" href="{{ '/css/main.min.css' | url | ts_suffix }}">
|
||||
{% endif %}
|
||||
|
||||
{# include javascript #}
|
||||
|
|
|
|||
Loading…
Reference in a new issue