diff options
author | Léo de Souza <leo.de_souza@mines-paristech.fr> | 2021-03-11 14:00:27 +0300 |
---|---|---|
committer | Léo de Souza <leo.de_souza@mines-paristech.fr> | 2021-03-11 14:00:27 +0300 |
commit | e757432018f7c19d4a3657416b3e7354914c39e4 (patch) | |
tree | 38e4986d6940722283d55e7e5f3948ae6b6bfdb2 | |
parent | e31c9f9308646f3f233735bda5e8a5a9c36fbd9c (diff) |
Improve documentation on external assets
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -78,10 +78,10 @@ params: netlify: honeypot: false # Set to true to add honeypot field in contact form recaptcha: false # Set to true to add recaptcha challenge in contact form - # css: # Uncomment to add custom CSS from a list of files + # css: # Uncomment to add custom CSS from the assets directory # - css/foo.css # - bar.css - # js: # Uncomment to add custom JS from a list of files + # js: # Uncomment to add custom JS from the assets directory # - js/foo.js # - bar.js @@ -148,7 +148,7 @@ params: - bar.js ``` -The paths are relative to the assets directory. +The paths are relative to the project working directory. In this example, the file paths would be `assets/css/foo.css`, `assets/bar.css`, `assets/js/foo.js`, `assets/bar.js`. ### Dynamically Embedded |