Update README.md
This commit is contained in:
parent
68a3724bdb
commit
996701fde0
15
README.md
15
README.md
@ -85,10 +85,23 @@ You can download the theme manually by going to [https://github.com/panr/hugo-th
|
||||
|
||||
### Install theme as Hugo Module
|
||||
|
||||
```
|
||||
```bash
|
||||
hugo mod init github.com/panr/hugo-theme-terminal@module
|
||||
hugo mod get -u
|
||||
# or
|
||||
hugo mod get github.com/panr/hugo-theme-terminal@module
|
||||
```
|
||||
|
||||
then in config.toml add:
|
||||
|
||||
```toml
|
||||
[module]
|
||||
[[module.imports]]
|
||||
path = 'github.com/panr/hugo-theme-terminal'
|
||||
```
|
||||
|
||||
When you do that, you don't need to add `theme = "terminal"`. The theme should be "mounted" right away.
|
||||
|
||||
Please keep in mind that for the time of testing the theme is available as a module only from `module` branch. After testing period (fall, 2022), the module will be available on `master` branch by default.
|
||||
|
||||
More about Hugo Modules in the [official documentation](https://gohugo.io/hugo-modules/).
|
||||
|
Loading…
Reference in New Issue
Block a user