commit 996701fde0827c465c1cfa177198fded081cd22d
parent 68a3724bdbe9c3c8c0ed4ef51ffc27528a1766b9
Author: Radek KozieĊ‚ <radoslaw.koziel@gmail.com>
Date:   Tue, 18 Oct 2022 23:26:27 +0200

Update README.md
Diffstat:
MREADME.md | 15++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/README.md b/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/).