Merge pull request #5 from Junyi-99/Junyi-99-patch-3

Update README.md
This commit is contained in:
Junyi 2024-03-04 14:43:53 +08:00 committed by GitHub
commit 28434af973
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,23 +36,11 @@ Anubis2 is another simple minimalist theme for [Hugo blog engine](https://gohugo
You need to install an extended version of Hugo to run this theme.
### As Hugo Module (easier and recommended)
Initiate a `hugo` module system from your project's root directory
```shell
hugo mod init github.com/<your_user>/<your_project>
```
Add the following to your `config.toml` or `config.yaml`
```toml
theme = ["github.com/Junyi-99/hugo-theme-anubis2"]
```
### As Git Submodule
Inside the folder of your Hugo site run:
$ git submodule add https://github.com/Junyi-99/hugo-theme-anubis2.git themes/anubis
$ git submodule add https://github.com/Junyi-99/hugo-theme-anubis2.git themes/anubis2
For more information read the official [setup guide](https://gohugo.io/overview/installing/) of Hugo.