Closed RoneoOrg closed 2 years ago
@RoneoOrg Thank you for the PR.
You can already edit the scripts.js
and any of the scss files. What's the use case/added value this feature provides?
Hi @JugglerX, thanks for having a look!
The main objective here is to give the possibility to set some custom bits of CSS and JS while avoiding git conflicts when the theme is updated:
Without this trick, there are only two possibilities AFAIK:
/theme/hugo-hero/assets/scripts/scripts.js
, which will result in git conflicts when the theme is updated/assets/scripts/scripts.js
(at the root of the repo). Then updates to this file coming from the theme will be ignored.I may be missing something, though. (And I hope I've been intelligible, I'm not a native english-speaker, sorry!)
Thanks for sharing this theme !