From 29f7bb8c55d875f925a39c9aa94205e055db631e Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Mon, 23 Oct 2023 09:47:44 +1100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Add=20note=20about=20`hugo=20mod?= =?UTF-8?q?=20clean`=20command?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exampleSite/content/docs/installation/index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/exampleSite/content/docs/installation/index.md b/exampleSite/content/docs/installation/index.md index 422d0077..a8cd34b4 100644 --- a/exampleSite/content/docs/installation/index.md +++ b/exampleSite/content/docs/installation/index.md @@ -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: