My Hugo Journey


Roll back Hugo

The latest version of Hugo 0.62 introduced a breaking change. My homepage didn’t list the blog posts any more.

  1. brew unlink hugo

  2. Search for the Hugo package formula:

  1. Click on that file (Formula/hugo.rb), and press the History button (commits) to see all the previous versions.

  2. Navigate to the previous version you need, for me it turned out to be 0.59, and then click the <> button to see the homebrew-core repository for that version.

  3. Open the Formula/hugo.rb file, and click Raw to get the direct URL to that file.

Then use it as the argument for brew. For example:

Roll back to version 0.59 …

brew extract hugo