summaryrefslogtreecommitdiffstats
path: root/docs/content/en/hugo-modules/use-modules.md
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2021-04-20 20:22:53 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2021-04-20 20:22:53 +0200
commit8f7891e70c51163185fbbd878b4925d11b6a2a93 (patch)
tree09ff03c47855d3389462f8a76e8f344fdd330fba /docs/content/en/hugo-modules/use-modules.md
parentd3a64708f49139552ca79a199a4cbf6544375443 (diff)
parent07b8d9466dfb59c429c1b470a0443337bc0aeefe (diff)
Diffstat (limited to 'docs/content/en/hugo-modules/use-modules.md')
-rw-r--r--docs/content/en/hugo-modules/use-modules.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/content/en/hugo-modules/use-modules.md b/docs/content/en/hugo-modules/use-modules.md
index db12964b4..e0d73957a 100644
--- a/docs/content/en/hugo-modules/use-modules.md
+++ b/docs/content/en/hugo-modules/use-modules.md
@@ -36,13 +36,13 @@ Also see the [CLI Doc](/commands/hugo_mod_init/).
The easiest way to use a Module for a theme is to import it in the config.
1. Initialize the hugo module system: `hugo mod init github.com/<your_user>/<your_project>`
-2. Import the theme in your `config.toml`:
+2. Import the theme:
-```toml
+{{< code-toggle file="config" >}}
[module]
[[module.imports]]
path = "github.com/spf13/hyde"
-```
+{{< /code-toggle >}}
## Update Modules