Andrew Woodlee
4b382bddd9
* Getting environment variables and passwords from Vault (not tested yet) * Vault configuration to config (not tested yet) * Ability to run scripts from file on local machine on the remote host * Ability to get ouput in the notification of a list for individual commands or all commands * Make SSH connections close after all commands have been run; reuse previous connections if needed
43 lines
1.0 KiB
Markdown
43 lines
1.0 KiB
Markdown
+++
|
|
categories = ["taxonomy", "content"]
|
|
tags = "tutorial"
|
|
title = "Taxonomy"
|
|
weight = 7
|
|
+++
|
|
|
|
The Relearn theme supports Hugo's default taxonomies _tag_ and _category_ out of the box.
|
|
|
|
## Configuration
|
|
|
|
Just add tags and/or categories to any page. They can be given as a single string or an array of strings.
|
|
|
|
```toml
|
|
+++
|
|
categories = ["taxonomy", "content"]
|
|
tags = "tutorial"
|
|
title = "Taxonomy"
|
|
+++
|
|
```
|
|
|
|
## Behavior
|
|
|
|
The tags are displayed at the top of the page in alphabetical order.
|
|
|
|
The categories are displayed at the bottom of the page in alphabetical order in the default implementation of the theme but can be customized by providing your own `content-footer.html` partial.
|
|
|
|
Each item is a link to a taxonomy page displaying all the articles with the given term.
|
|
|
|
## List all the tags
|
|
|
|
In the `config.toml` file you can add a shortcut to display all the tags and categories
|
|
|
|
```toml
|
|
[[menu.shortcuts]]
|
|
name = "<i class='fas fa-tags'></i> Tags"
|
|
url = "/tags"
|
|
|
|
[[menu.shortcuts]]
|
|
name = "<i class='fas fa-list'></i> Categories"
|
|
url = "/categories"
|
|
```
|