Updating Infusion
The core of Infusion’s functionality is in its Hugo theme, also called Infusion. This is found in the theme folder.
- content
- docs
- lib
- snippets
- static
- themes
- infusion
Do not “hack the core”. If you have any issues with Infusion, please report them to the Infusion Github repository and they will be dealt with ASAP.
Infusion is undergoing constant development, so keep an eye out for new releases. To update to a new version of Infusion, simply run the update
command from inside your local project folder.
npm run update
This will save a timestamped backup of the current version, and download the latest version. Your theme folder will now look something like the following.
- themes
- infusion
- infusion-old-1503389765972
If you experience breaking changes and are having trouble fixing them, you can rename the old folder and revert to using it. In the meantime, you can submit an issue with the “help” tag describing your problem.