Update README.md

This commit is contained in:
Zhangyuan Nie 2020-10-19 12:56:08 -04:00
parent a7f88bb583
commit a96c701afa

View File

@ -51,11 +51,16 @@ This theme uses the "Tachyons" CSS library. This will allow you to manipulate th
### As a Hugo Module (recommended) ### As a Hugo Module (recommended)
Simply add the repo to your theme option: 1. Initiate the hugo module system:
```yaml ```
theme: $ hugo mod init github.com/<your_user>/<your_project>
- github.com/theNewDynamic/gohugo-theme-ananke ```
2. Add the theme in your `config.toml`:
```toml
theme = ["github.com/theNewDynamic/gohugo-theme-ananke"]
``` ```
### As Git Submodule ### As Git Submodule