Skip to content

Commit

Permalink
📝 Add note about hugo mod clean command
Browse files Browse the repository at this point in the history
  • Loading branch information
jpanther committed Oct 22, 2023
1 parent dd600a2 commit 29f7bb8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions exampleSite/content/docs/installation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@ Hugo will automatically update any modules that are required for your project. I

Then simply rebuild your site and check everything works as expected.

{{< alert >}}
When updating modules, sometimes Hugo will cache an older version of the theme. If this happens, clear your local cache by using the `hugo mod clean` command and then rebuild your site.
{{< /alert >}}

### Update using git

Git submodules can be updated using the `git` command. Simply execute the following command and the latest version of the theme will be downloaded into your local repository:
Expand Down

0 comments on commit 29f7bb8

Please sign in to comment.