You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: userguide/content/en/docs/Updating/Updating-hugo-module.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -24,10 +24,10 @@ Hugo automatically pulls in the latest theme version. That's it, your update is
24
24
25
25
26
26
{{% alert title="Tip" %}}
27
-
If you want to set your module to a certain version inside the docsy theme repo, simply specific the name of the tag representing this version (here: _v0.4.0_) when updating your theme:
27
+
If you want to set your module to a certain version inside the docsy theme repo, simply specific the name of the tag representing this version (here: _v{{% param "version" %}}_) when updating your theme:
28
28
29
29
```bash
30
-
hugo mod get -u github.com/google/docsy@v0.4.0
30
+
hugo mod get -u github.com/google/docsy@v{{% param "version" %}}
31
31
```
32
32
33
33
Instead of a version tag, you can also specify a commit hash inside the repo (here: _6c8a3afe_) when updating your theme:
0 commit comments