Skip to content

Commit 0b63cde

Browse files
committed
Add cache_bust param
1 parent 6f76d26 commit 0b63cde

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

content/collections/tags/theme-asset.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ parameters:
1212
description: >
1313
The path to the file, relative to the
1414
theme directory.
15+
-
16+
name: cache_bust
17+
type: 'boolean *false*'
18+
description: >
19+
Setting this to `true` will add the timestamp of the asset to the end of
20+
the URL in a `?v=` query param.
1521
id: de348605-5489-4282-9257-bd9ffd92438e
1622
---
1723
## Explicit mode {#explicit-mode}

content/collections/tags/theme-css.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ parameters:
2020
theme assets, setting this to `true`
2121
will use the manifest to output the
2222
filename.
23+
-
24+
name: cache_bust
25+
type: 'boolean *false*'
26+
description: >
27+
Setting this to `true` will add the timestamp of the asset to the end of
28+
the URL in a `?v=` query param. Use this to version files if you are
29+
_not_ using Elixir.
2330
id: 6b5093dc-dd82-4ae2-a9ff-53d4099d11e3
2431
---
2532
## Example {#example}

content/collections/tags/theme-js.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ parameters:
1717
theme assets, setting this to `true`
1818
will use the manifest to output the
1919
filename.
20+
-
21+
name: cache_bust
22+
type: 'boolean *false*'
23+
description: >
24+
Setting this to `true` will add the timestamp of the asset to the end of
25+
the URL in a `?v=` query param. Use this to version files if you are
26+
_not_ using Elixir.
2027
---
2128
## Example {#example}
2229
```

0 commit comments

Comments
 (0)