Hugo

Node Abhängigkeiten aus Themes

published on

Since the upgrade to a Hugo version above 0.75.0 there is an enhancement in the form of the command hugo mod npm pack to merge the node dependencies of a theme with those of a project.

To use this new feature, the dependencies of a theme must be saved in a file package.hugo.json instead of package.json, it is sufficient to simply rename the file created by npm or yarn. A symlink alone doesn’t work because Hugo’s virtual filesystem (intentionally) doesn’t work with symlinks.

Read More...

Hugo Updates

published on

Update: Hugo 0.82.0 is now being used

Up to the time this article was written, Hugo 0.74.3 from July 23, 2020 was used, at that time the current version was 0.79. Changes to the handling of JavaScript build processes prevent an update. To make matters worse, homebrew has been getting worse lately. Downgrades are no longer possible simply from the command line. In the meantime, Hugo is being built directly from the sources, see below.

Read More...