Authoring Stage Taxonomy for Digital Garden
This theme supports custom taxonomy and growth stage indicators, but it does not ship with an indicator icon right now.
It must be manually set up as follows:
- Register the taxonomy in your
config.toml
:
[taxonomies]
stage = "stage"
- Create taxonomy folder and it’s terms
_index.md
:
mysite/
├── ...
├── content/
│ └── stage/
│ ├─ seedling/
│ │ └─ _index.md
│ ├─ budding/
│ │ └─ _index.md
│ └─ evergreen/
│ └─ _index.md
└── ...
- Setup your custom indicator icon in
_index.md
:
---
title: 'Evergreen'
translationKey: evergreen
indicator: 'https://example.com/indicator.svg'
---
- Add the stage parameter into your post
index.md
:
---
title: 'My Post'
stage: 'seedling'
---