parent
cc963b323f
commit
7761676dee
17
README.md
17
README.md
|
@ -35,7 +35,7 @@ Also includes examples of Hugo Features or Functions:
|
||||||
- `where`
|
- `where`
|
||||||
- Content Views
|
- Content Views
|
||||||
- Partials
|
- Partials
|
||||||
- Template layouts (type "post" uses a special list template, single template, and a content view)
|
- Template layouts (type "post" uses a special list template, single template, and a content view)
|
||||||
- Tags
|
- Tags
|
||||||
- `len`
|
- `len`
|
||||||
- Conditionals
|
- Conditionals
|
||||||
|
@ -51,16 +51,17 @@ This theme uses the "Tachyons" CSS library. This will allow you to manipulate th
|
||||||
|
|
||||||
### As a Hugo Module (recommended)
|
### As a Hugo Module (recommended)
|
||||||
|
|
||||||
If not already, init your project as Hugo Module:
|
1. Initiate the hugo module system if you haven't already:
|
||||||
|
|
||||||
`$: hugo mod init {project_repo_url}`
|
```
|
||||||
|
$ hugo mod init github.com/<your_user>/<your_project>
|
||||||
|
```
|
||||||
|
|
||||||
Simply add the repo to your theme option:
|
2. Add the theme's repo to your `config.toml`:
|
||||||
|
|
||||||
```yaml
|
```toml
|
||||||
theme:
|
theme = ["github.com/theNewDynamic/gohugo-theme-ananke"]
|
||||||
- github.com/theNewDynamic/gohugo-theme-ananke
|
```
|
||||||
```
|
|
||||||
|
|
||||||
### As Git Submodule
|
### As Git Submodule
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue