diff options
author | Marcia Ramos <virtua.creative@gmail.com> | 2018-11-27 16:04:13 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2018-11-27 16:04:13 +0300 |
commit | 8b8175a1c685ae6b83e5b5c61ae9bf87a31ff71d (patch) | |
tree | 3726962992ad53efc8693e3cd61936b5703cd576 /README.md | |
parent | 4aceddad536dc5726b03c2b77a950c8159a0de38 (diff) |
Add reason for bumping JS and CSS
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -321,7 +321,8 @@ we reference the array with a symbol (`:versions`). ## Bumping versions of CSS and Javascript Whenever the custom CSS and Javascript files under `content/assets/` change, -make sure to bump their version in the frontmatter. +make sure to bump their version in the frontmatter. This method guarantees that +your changes will take effect by clearing the cache of previous files. Always use Nanoc's way of including those files, do not hardcode them in the layouts. For example use: |