|
|
|
|
|
|
|
|
- `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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### 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: |
|
|
|
|
|
- github.com/theNewDynamic/gohugo-theme-ananke |
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
``` |
|
|
|
|
|
$ hugo mod init github.com/<your_user>/<your_project> |
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
2. Add the theme in your `config.toml`: |
|
|
|
|
|
|
|
|
|
|
|
```toml |
|
|
|
|
|
theme = ["github.com/theNewDynamic/gohugo-theme-ananke"] |
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
### As Git Submodule |
|
|
### As Git Submodule |
|
|
|
|
|
|